BBS(php mysql)完整版(八)

來源:互聯網
上載者:User

//完畢 wish you sucess!!

# phpMyAdmin MySQL-Dump
# http://phpwizard.net/phpMyAdmin/
#
# 主機: localhost:3306 資料庫 : database
# --------------------------------------------------------
#
# 資料表的結構 'bbs_html'
#

CREATE TABLE bbs_html (
id int(15) DEFAULT '0' NOT NULL,
userid varchar(20) NOT NULL,
date1 varchar(20) NOT NULL,
title varchar(40) NOT NULL,
content text NOT NULL,
r1 int(15) DEFAULT '0' NOT NULL,
r2 int(15) DEFAULT '0' NOT NULL,
number tinyint(4) DEFAULT '0' NOT NULL,
row tinyint(5) DEFAULT '0' NOT NULL,
r3 int(15) DEFAULT '0' NOT NULL,
r4 int(15) DEFAULT '0' NOT NULL,
r5 int(15) DEFAULT '0' NOT NULL,
UNIQUE id (id)
);

# --------------------------------------------------------
#
# 資料表的結構 'bbs_js'
#

CREATE TABLE bbs_js (
id int(15) DEFAULT '0' NOT NULL,
userid varchar(20) NOT NULL,
date1 varchar(20) NOT NULL,
title varchar(40) NOT NULL,
content text NOT NULL,
r1 int(15) DEFAULT '0' NOT NULL,
r2 int(15) DEFAULT '0' NOT NULL,
number tinyint(4) DEFAULT '0' NOT NULL,
row tinyint(5) DEFAULT '0' NOT NULL,
r3 int(15) DEFAULT '0' NOT NULL,
r4 int(15) DEFAULT '0' NOT NULL,
r5 int(15) DEFAULT '0' NOT NULL,
UNIQUE id (id)
);

# --------------------------------------------------------
#
# 資料表的結構 'bbs_mysql'
#

CREATE TABLE bbs_mysql (
id int(15) DEFAULT '0' NOT NULL,
userid varchar(20) NOT NULL,
date1 varchar(20) NOT NULL,
title varchar(40) NOT NULL,
content text NOT NULL,
r1 int(15) DEFAULT '0' NOT NULL,
r2 int(15) DEFAULT '0' NOT NULL,
number tinyint(4) DEFAULT '0' NOT NULL,
row tinyint(5) DEFAULT '0' NOT NULL,
r3 int(15) DEFAULT '0' NOT NULL,
r4 int(15) DEFAULT '0' NOT NULL,
r5 int(15) DEFAULT '0' NOT NULL,
UNIQUE id (id)
);

# --------------------------------------------------------
#
# 資料表的結構 'bbs_php'
#

CREATE TABLE bbs_php (
id int(15) DEFAULT '0' NOT NULL,
userid varchar(20) NOT NULL,
date1 varchar(20) NOT NULL,
title varchar(40) NOT NULL,
content text NOT NULL,
r1 int(15) DEFAULT '0' NOT NULL,
r2 int(15) DEFAULT '0' NOT NULL,
number tinyint(4) DEFAULT '0' NOT NULL,
row tinyint(5) DEFAULT '0' NOT NULL,
r3 int(15) DEFAULT '0' NOT NULL,
r4 int(15) DEFAULT '0' NOT NULL,
r5 int(15) DEFAULT '0' NOT NULL,
UNIQUE id (id)
);

# --------------------------------------------------------
#
# 資料表的結構 'bbs_re'
#

CREATE TABLE bbs_re (
id int(15) DEFAULT '0' NOT NULL,
userid varchar(20) NOT NULL,
title varchar(40) NOT NULL,
content text NOT NULL,
date1 varchar(30) NOT NULL
);

# --------------------------------------------------------
#
# 資料表的結構 'user'
#

CREATE TABLE user (
id int(15) DEFAULT '0' NOT NULL,
userid varchar(20) NOT NULL,
name varchar(20) NOT NULL,
passwd varchar(20) NOT NULL,
sex varchar(5) NOT NULL,
age char(3) NOT NULL,
question varchar(20) NOT NULL,
answer varchar(20) NOT NULL,
birthday varchar(20) NOT NULL,
oicq varchar(10) NOT NULL,
height varchar(4) NOT NULL,
myphoto char(3) NOT NULL,
email varchar(30) NOT NULL,
homepage varchar(40) NOT NULL,
hobby varchar(40) NOT NULL,
number varchar(10) NOT NULL,
room varchar(20) NOT NULL,
department varchar(20) NOT NULL,
phone varchar(20) NOT NULL,
ready1 varchar(10) NOT NULL,
ready2 varchar(10) NOT NULL,
ready3 varchar(10) NOT NULL,
UNIQUE userid (userid),
KEY id (id, userid)
);

# --------------------------------------------------------
#
# 資料表的結構 'user_stus'
#

CREATE TABLE user_stus (
id int(15) DEFAULT '0' NOT NULL,
status varchar(6) NOT NULL,
userid varchar(15) DEFAULT '0' NOT NULL,
ip varchar(20) NOT NULL,
r2 char(2) NOT NULL,
r3 char(2) NOT NULL,
r4 char(2) NOT NULL,
PRIMARY KEY (userid)
);

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.