DROP TABLE IF EXISTS supe_fwitems;
CREATE TABLE supe_fwitems (
itemid mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
catid smallint(6) unsigned NOT NULL DEFAULT '0',
uid mediumint(8) unsigned NOT NULL DEFAULT '0',
tid mediumint(8) unsigned NOT NULL DEFAULT '0',
username char(15) NOT NULL DEFAULT '',
`subject` char(80) NOT NULL DEFAULT '',
subjectimage char(80) NOT NULL DEFAULT '',
rates smallint(6) unsigned NOT NULL DEFAULT '0',
dateline int(10) unsigned NOT NULL DEFAULT '0',
lastpost int(10) unsigned NOT NULL DEFAULT '0',
viewnum mediumint(8) unsigned NOT NULL DEFAULT '0',
replynum mediumint(8) unsigned NOT NULL DEFAULT '0',
allowreply tinyint(1) NOT NULL DEFAULT '0',
grade tinyint(1) NOT NULL DEFAULT '0',
corporation char(100) NOT NULL DEFAULT '',
corpsize char(20) NOT NULL DEFAULT '',
province char(20) NOT NULL,
city char(50) NOT NULL,
quantity char(252) NOT NULL,
seniority char(100) NOT NULL,
education char(240) NOT NULL,
salary char(100) NOT NULL DEFAULT '',
introduce char(252) NOT NULL,
jobtype char(80) NOT NULL DEFAULT '',
rener char(100) NOT NULL,
PRIMARY KEY (itemid),
KEY catid (catid,itemid)
) TYPE=MyISAM;
DROP TABLE IF EXISTS supe_fwmessage;
CREATE TABLE supe_fwmessage (
nid mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
itemid mediumint(8) unsigned NOT NULL DEFAULT '0',
message mediumtext NOT NULL,
postip varchar(15) NOT NULL DEFAULT '',
relativeitemids varchar(255) NOT NULL DEFAULT '',
corpinfo text NOT NULL,
contactus text NOT NULL,
jobparticular varchar(100) NOT NULL,
huxing varchar(200) NOT NULL DEFAULT '0室0厅0卫',
diduan varchar(50) NOT NULL,
difang varchar(100) NOT NULL,
PRIMARY KEY (nid),
KEY itemid (itemid)
) TYPE=MyISAM;
DROP TABLE IF EXISTS supe_fwcomments;
CREATE TABLE supe_fwcomments (
cid int(10) unsigned NOT NULL AUTO_INCREMENT,
itemid mediumint(8) unsigned NOT NULL DEFAULT '0',
authorid mediumint(8) unsigned NOT NULL DEFAULT '0',
author varchar(15) NOT NULL DEFAULT '',
ip varchar(15) NOT NULL DEFAULT '',
dateline int(10) unsigned NOT NULL DEFAULT '0',
message text NOT NULL,
PRIMARY KEY (cid),
KEY itemid (itemid,dateline)
) TYPE=MyISAM;
DROP TABLE IF EXISTS supe_fwrates;
CREATE TABLE supe_fwrates (
rid int(10) unsigned NOT NULL AUTO_INCREMENT,
itemid mediumint(8) unsigned NOT NULL DEFAULT '0',
authorid mediumint(8) unsigned NOT NULL DEFAULT '0',
author varchar(15) NOT NULL DEFAULT '',
ip varchar(15) NOT NULL DEFAULT '',
dateline int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (rid),
KEY itemid (itemid,dateline)
) TYPE=MyISAM;
DROP TABLE IF EXISTS supe_fwcategories;
CREATE TABLE supe_fwcategories (
catid smallint(6) unsigned NOT NULL AUTO_INCREMENT,
upid smallint(6) unsigned NOT NULL DEFAULT '0',
`name` varchar(50) NOT NULL DEFAULT '',
note text NOT NULL,
displayorder mediumint(6) unsigned NOT NULL DEFAULT '0',
url varchar(200) NOT NULL DEFAULT '',
subcatid varchar(200) NOT NULL DEFAULT '',
PRIMARY KEY (catid),
KEY upid (upid),
KEY displayorder (displayorder)
) TYPE=MyISAM;
DROP TABLE IF EXISTS supe_fwfolders;
CREATE TABLE supe_fwfolders (
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)
) TYPE=MyISAM;
这里面哪一条是建表语句中的字符集设置 |