- CREATE TABLE IF NOT EXISTS pre_connect_feedlog (
- flid mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
- tid mediumint(8) unsigned NOT NULL DEFAULT '0',
- uid mediumint(8) unsigned NOT NULL DEFAULT '0',
- publishtimes mediumint(8) unsigned NOT NULL DEFAULT '0',
- lastpublished int(10) unsigned NOT NULL DEFAULT '0',
- dateline int(10) unsigned NOT NULL DEFAULT '0',
- `status` tinyint(1) NOT NULL DEFAULT '1',
- PRIMARY KEY (flid),
- UNIQUE KEY tid (tid)
- ) TYPE=MyISAM;
- CREATE TABLE IF NOT EXISTS pre_connect_memberbindlog (
- mblid mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
- uid mediumint(8) unsigned NOT NULL DEFAULT '0',
- uin char(40) NOT NULL,
- `type` tinyint(1) NOT NULL DEFAULT '0',
- dateline int(10) unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (mblid),
- KEY uid (uid),
- KEY uin (uin),
- KEY dateline (dateline)
- ) TYPE=MyISAM;
- CREATE TABLE IF NOT EXISTS pre_connect_tlog (
- tlid mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
- tid mediumint(8) unsigned NOT NULL DEFAULT '0',
- uid mediumint(8) unsigned NOT NULL DEFAULT '0',
- publishtimes mediumint(8) unsigned NOT NULL DEFAULT '0',
- lastpublished int(10) unsigned NOT NULL DEFAULT '0',
- dateline int(10) unsigned NOT NULL DEFAULT '0',
- `status` tinyint(1) NOT NULL DEFAULT '1',
- PRIMARY KEY (tlid),
- UNIQUE KEY tid (tid)
- ) TYPE=MyISAM;
- CREATE TABLE IF NOT EXISTS pre_common_uin_black (
- uin char(40) NOT NULL,
- uid mediumint(8) unsigned NOT NULL DEFAULT '0',
- dateline int(10) unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (uin),
- UNIQUE KEY uid (uid)
- ) TYPE=MyISAM;
复制代码 在数据库里执行sql,其中的pre为你的表前缀 |