Create table bbs_sml (
Id int (8) unsigned DEFAULT '0' not null auto_increment,
Sid int (8) unsigned DEFAULT '0' not null,
Email char (60) not null,
Primary key (id ),
KEY sid (sid ),
KEY email)
);
Create table bbs_subj (
Id int (10) unsigned DEFAULT '0' not null auto_increment,
Aid int (10) unsigned DEFAULT '0' not null,
Banner varchar (150) not null,
Body text not null,
Poster varchar (20) not null,
Email varchar (50 ),
Pip varchar (20) not null,
Wdate datetime DEFAULT '2017-00-00 00:00:00 'not null,
Views int (8) unsigned DEFAULT '1' not null,
Good int (2) unsigned DEFAULT '0' not null,
Primary key (id ),
KEY aid (aid ),
KEY good (good ),
KEY wdate (wdate)
);
Create table bbs_docs (
Id int (10) unsigned DEFAULT '0' not null auto_increment,
Aid int (10) unsigned DEFAULT '0' not null,
Sid int (10) unsigned DEFAULT '0' not null,
Banner varchar (150) not null,
Body text not null,
Poster varchar (20) not null,
Email varchar (50 ),
Pip varchar (20) not null,
Wdate datetime DEFAULT '2017-00-00 00:00:00 'not null,
Views int (8) unsigned DEFAULT '1' not null,
Good int (2) unsigned DEFAULT '0' not null,
Primary key (id ),
KEY aid (aid ),
KEY good (good ),
KEY wdate (wdate)
);
Create table bbs_sel (
Id int (8) unsigned DEFAULT '0' not null auto_increment,
Sid int (8) unsigned DEFAULT '0' not null,
Banner char (80) not null,
Sel_0 char (80) not null,
Sel_1 char (80) not null,
Sel_2 char (80) not null,
Sel_3 char (80) not null,
Sel_4 char (80) not null,
Sel_5 char (80) not null,
Sel_6 char (80) not null,
Sel_7 char (80) not null,
Sn_0 int (8) DEFAULT '0' not null,
Sn_1 int (8) DEFAULT '0' not null,
Sn_2 int (8) DEFAULT '0' not null,
Sn_3 int (8) DEFAULT '0' not null,
Sn_4 int (8) DEFAULT '0' not null,
Sn_5 int (8) DEFAULT '0' not null,
Sn_6 int (8) DEFAULT '0' not null,
Sn_7 int (8) DEFAULT '0' not null,
Primary key (id)
);
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.