# PhpMyAdmin MySQL (the best mix with PHP)-dump
# http://phpwizard.net/phpMyAdmin/
#
# Host: localhost:3306 database: study28
# --------------------------------------------------------
#
# The structure of the data table ' Chat_user '
#
CREATE TABLE Chat_user (
UserID varchar () is not NULL,
passwd varchar () not NULL,
Last_time Int (Ten) DEFAULT ' 0 ' not NULL,
ID varchar () not NULL,
Sex varchar (5) Not NULL
);
# --------------------------------------------------------
#
# The structure of the data table ' Chat_user_list '
#
CREATE TABLE Chat_user_list (
UserID Int (Ten) DEFAULT ' 0 ' not NULL,
passwd varchar () not NULL,
Last_time Int (Ten) DEFAULT ' 0 ' not NULL,
ID varchar () not NULL,
Sex varchar (5) Not NULL
);
# --------------------------------------------------------
#
# The structure of the data table ' Private_chat '
#
CREATE TABLE Private_chat (
Sender varchar (not NULL),
Object varchar () is not NULL,
Message varchar (255) Not NULL,
R1 tinyint (4) DEFAULT ' 0 ' not NULL,
R2 tinyint (4) DEFAULT ' 0 ' not NULL
);
# --------------------------------------------------------
#
# The structure of the data table ' user '
#
CREATE TABLE User (
ID varchar (+) not NULL,
UserID varchar () is not NULL,
Name varchar () is not NULL,
passwd varchar () not NULL,
Sex varchar (5) Not NULL,
Age char (3) is not NULL,
Question varchar () not NULL,
Answer varchar () not NULL,
Birthday varchar () not NULL,
OICQ varchar (ten) is not NULL,
Height varchar (4) Not NULL,
Myphoto char (3) not NULL,
Email varchar () not NULL,
Homepage varchar () not NULL,
Hobby varchar (+) not NULL,
Number varchar (ten) is not NULL,
The guest is not NULL,
Department varchar () not NULL,
Phone varchar () not NULL,
Ready1 varchar (ten) is not NULL,
Ready2 varchar (ten) is not NULL,
Ready3 varchar (ten) is not NULL,
KEY ID (ID, userid)
);
# --------------------------------------------------------
#
# The structure of the data table ' User_message '
#
CREATE TABLE User_message (
UserID varchar () is not NULL,
Object varchar () is not NULL,
Message varchar (255) Not NULL,
status int (2) DEFAULT ' 0 ' not NULL,
Action1 varchar () not NULL,
Color varchar (TEN) DEFAULT ' 0 ' not NULL,
row Int (Ten) DEFAULT ' 0 ' not NULL,
TIME1 varchar (ten) is not NULL,
ID Int (TEN) DEFAULT ' 0 ' not NULL
);
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.