1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

Updated for present privmsgs tests

git-svn-id: file:///svn/phpbb/trunk@452 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-06-11 00:09:08 +00:00
parent 86c7843277
commit 23f0178fd1
2 changed files with 46 additions and 22 deletions

View File

@@ -238,19 +238,33 @@ CREATE TABLE phpbb_posts_text (
#
# Table structure for table 'phpbb_privmsgs'
#
DROP TABLE IF EXISTS phpbb_privmsgs;
DROP TABLE IF EXISTS phpbb_privmsgs;
CREATE TABLE phpbb_privmsgs (
msg_id int(10) NOT NULL auto_increment,
from_userid int(10) DEFAULT '0' NOT NULL,
to_userid int(10) DEFAULT '0' NOT NULL,
msg_time int(10) DEFAULT '0' NOT NULL,
poster_ip varchar(8),
msg_status int(10) DEFAULT '0' NOT NULL,
msg_text text NOT NULL,
newmsg tinyint(4) DEFAULT '0' NOT NULL,
PRIMARY KEY (msg_id),
KEY to_userid (to_userid)
privmsgs_id int(11) NOT NULL auto_increment,
privmsgs_type tinyint(4) DEFAULT '0' NOT NULL,
privmsgs_subject varchar(255) DEFAULT '0' NOT NULL,
privmsgs_from_groupid int(11) DEFAULT '0' NOT NULL,
privmsgs_to_groupid int(11) DEFAULT '0' NOT NULL,
privmsgs_date int(11) DEFAULT '0' NOT NULL,
privmsgs_ip varchar(8) NOT NULL,
privmsgs_bbcode_uid int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (privmsgs_id),
KEY privmsgs_from_groupid (privmsgs_from_groupid),
KEY privmsgs_to_groupid (privmsgs_to_groupid)
);
# --------------------------------------------------------
#
# Table structure for table 'phpbb_privmsgs_text'
#
DROP TABLE IF EXISTS phpbb_privmsgs_text;
CREATE TABLE phpbb_privmsgs_text (
privmsgs_text_id int(11) DEFAULT '0' NOT NULL,
privmsgs_text text,
PRIMARY KEY (privmsgs_text_id)
);