用以下sql语句新建该表后正常。该模型系最新补丁环境下创建,怀疑创建时系统没有在数据库中添加此表。- DROP TABLE IF EXISTS `0888cc_infosfolders`;
- CREATE TABLE IF NOT EXISTS `0888cc_infosfolders` (
- `itemid` mediumint(8) unsigned NOT NULL auto_increment,
- `uid` smallint(8) unsigned NOT NULL default '0',
- `subject` varchar(80) NOT NULL default '',
- `message` text NOT NULL,
- `dateline` int(10) unsigned NOT NULL default '0',
- `folder` tinyint(1) NOT NULL default '0',
- PRIMARY KEY (`itemid`),
- KEY `folder` (`folder`,`dateline`)
- ) ENGINE=MyISAM DEFAULT CHARSET=gbk AUTO_INCREMENT=18 ;
复制代码 |