123456789101112131415161718 |
- DROP TABLE IF EXISTS `phpcms_link`;
- CREATE TABLE `phpcms_link` (
- `linkid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
- `siteid` smallint(5) unsigned DEFAULT '0',
- `typeid` smallint(5) unsigned NOT NULL DEFAULT '0',
- `linktype` tinyint(1) unsigned NOT NULL DEFAULT '0',
- `name` varchar(50) NOT NULL DEFAULT '',
- `url` varchar(255) NOT NULL DEFAULT '',
- `logo` varchar(255) NOT NULL DEFAULT '',
- `introduce` text NOT NULL,
- `username` varchar(30) NOT NULL DEFAULT '',
- `listorder` smallint(5) unsigned NOT NULL DEFAULT '0',
- `elite` tinyint(1) unsigned NOT NULL DEFAULT '0',
- `passed` tinyint(1) unsigned NOT NULL DEFAULT '0',
- `addtime` int(10) unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (`linkid`),
- KEY `typeid` (`typeid`,`passed`,`listorder`,`linkid`)
- ) TYPE=MyISAM;
|