CREATE TABLE prod_kind ( `sn` smallint(5) unsigned NOT NULL auto_increment comment 'sn', `ofsn` smallint(5) unsigned NOT NULL comment '父類別', `kind` varchar(255) NOT NULL default 'nav_home' comment '分類', `title` varchar(255) NOT NULL comment '標題', `sort` smallint(5) unsigned NOT NULL comment '排序', `enable` enum('1','0') NOT NULL default '1' comment '狀態', `url` varchar(255) NOT NULL comment '網址', `target` enum('1','0') NOT NULL default '0' comment '外連', `col_sn` int(10) unsigned NOT NULL comment 'col_sn', `content` text NOT NULL comment '內容', PRIMARY KEY (`sn`) ) ENGINE=MyISAM;