-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathupdate.sql
29 lines (26 loc) · 961 Bytes
/
update.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--
-- Структура таблицы `prefix_topic_tag_group`
--
CREATE TABLE IF NOT EXISTS `prefix_topic_tag_group` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`keyword` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`enabled` int(1) unsigned NOT NULL DEFAULT '0',
`order_num` int(3) unsigned NOT NULL DEFAULT '0',
`extra` text NOT NULL,
PRIMARY KEY (`id`),
KEY `enabled` (`enabled`),
KEY `order_num` (`order_num`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ;
--
-- Структура таблицы `prefix_topic_tag_meta`
--
CREATE TABLE IF NOT EXISTS `prefix_topic_tag_meta` (
`topic_tag_text` varchar(64) NOT NULL,
`topic_tag_title` varchar(200) DEFAULT NULL,
`topic_tag_alt_title` varchar(200) DEFAULT NULL,
`topic_tag_meta_title` varchar(200) DEFAULT NULL,
`topic_tag_meta_keywords` text,
`topic_tag_meta_description` text,
PRIMARY KEY (`topic_tag_text`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;