-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sql
41 lines (38 loc) · 1.36 KB
/
install.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
30
31
32
33
34
35
36
37
38
39
40
41
DROP TABLE IF EXISTS `%TABLE_PREFIX%488_articles`;
CREATE TABLE `%TABLE_PREFIX%488_articles` (
`id` int(11) NOT NULL auto_increment,
`categories` varchar(255) NOT NULL,
`title` varchar(255) NOT NULL,
`keywords` text NOT NULL,
`description` text NOT NULL,
`article_post` text NOT NULL,
`article_tags` text NOT NULL,
`article_trackbacks` text NOT NULL,
`article_permlink` varchar(255) NOT NULL,
`article_meta_settings` text NOT NULL,
`article_plugin_settings` text NOT NULL,
`clang` int(10) NOT NULL,
`status` tinyint(1) NOT NULL,
`create_date` int(11) NOT NULL,
`update_date` int(11) NOT NULL,
`create_user` varchar(255) NOT NULL,
`update_user` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `%TABLE_PREFIX%488_categories`;
CREATE TABLE `%TABLE_PREFIX%488_categories` (
`id` int(10) NOT NULL auto_increment,
`category_id` int(10) NOT NULL,
`parent_id` int(10) NOT NULL,
`clang` int(10) NOT NULL,
`title` varchar(255) NOT NULL,
`keywords` text NOT NULL,
`description` text NOT NULL,
`priority` int(10) NOT NULL,
`status` tinyint(1) NOT NULL,
`create_date` int(11) NOT NULL,
`update_date` int(11) NOT NULL,
`create_user` varchar(255) NOT NULL,
`update_user` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;