#--------------------------------------------------------
#
# Data table structure 'chat _ user'
#
Create table chat_user (
Userid varchar (20) not null,
Passwd varchar (20) not null,
Last_time int (10) DEFAULT '0' not null,
Id varchar (20) not null,
Sex varchar (5) NOT NULL
);
#--------------------------------------------------------
#
# Data table structure 'chat _ user_list'
#
Create table chat_user_list (
Userid int (10) DEFAULT '0' not null,
Passwd varchar (20) not null,
Last_time int (10) DEFAULT '0' not null,
Id varchar (20) not null,
Sex varchar (5) NOT NULL
);
#--------------------------------------------------------
#
# Data table structure 'private _ chat'
#
Create table private_chat (
Sender varchar (20) not null,
Object varchar (20) not null,
Message varchar (255) not null,
R1 tinyint (4) DEFAULT '0' not null,
R2 tinyint (4) DEFAULT '0' NOT NULL
);
#--------------------------------------------------------
#
# Data table structure 'user'
#
Create table user (
Id varchar (15) 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 (20) not null,
Homepage varchar (20) not null,
Holobby 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,
KEY id (id, userid)
);
#--------------------------------------------------------
#
# Data table structure 'user _ message'
#
Create table user_message (
Userid varchar (20) not null,
Object varchar (15) not null,
Message varchar (255) not null,
Status int (2) DEFAULT '0' not null,
Action1 varchar (20) not null,
Color varchar (10) DEFAULT '0' not null,
Row int (10) DEFAULT '0' not null,
Time1 varchar (10) not null,
Id int (10) DEFAULT '0' NOT NULL
);
#--------------------------------------------------------
#
# Data table structure 'user _ stus'
#
Create table user_stus (
Id varchar (20) not null,
Status varchar (6) not null,
Date1 varchar (30) not null,
Value int (5) DEFAULT '0' not null,
Photo int (2) DEFAULT '0' not null,
Number int (4) 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 (id ),
KEY id (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.