|
|
@ -0,0 +1,11 @@ |
|
|
|
DROP TABLE IF EXISTS `category`; |
|
|
|
CREATE TABLE `category` ( |
|
|
|
`id` int(11) AUTO_INCREMENT PRIMARY KEY, |
|
|
|
`cat_name` varchar(64) NOT NULL, |
|
|
|
`icon` varchar(64) DEFAULT NULL, |
|
|
|
`icon_type` tinyint(1) NOT NULL DEFAULT 1, |
|
|
|
`description` text NOT NULL DEFAULT '', |
|
|
|
`sort_order` smallint(3) NOT NULL DEFAULT 100, |
|
|
|
`created_at` int(11) NOT NULL DEFAULT 0, |
|
|
|
`updated_at` int(11) NOT NULL DEFAULT 0 |
|
|
|
)ENGINE=INNODB DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; |