UG related update

git-svn-id: file:///svn/phpbb/trunk@718 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-07-21 00:46:04 +00:00
parent 82507fb44c
commit 5706375aac
2 changed files with 4 additions and 3 deletions

View file

@ -44,6 +44,7 @@ CREATE TABLE phpbb_user_group (
DROP TABLE IF EXISTS phpbb_groups;
CREATE TABLE phpbb_groups (
group_id int(11) NOT NULL auto_increment,
group_type smallint(4) DEFAULT '1' NOT NULL,
group_name varchar(40) NOT NULL,
group_description varchar(255) NOT NULL,
group_moderator int(11) DEFAULT '0' NOT NULL,
@ -203,7 +204,7 @@ CREATE TABLE phpbb_posts (
post_time int(10) DEFAULT '0' NOT NULL,
poster_ip char(8) NOT NULL,
post_username varchar(30),
bbcode_uid varchar(10) NOT NULL,
bbcode_uid char(10) NOT NULL,
post_edit_time int(11),
post_edit_count smallint(4) DEFAULT '0' NOT NULL,
PRIMARY KEY (post_id),
@ -241,7 +242,7 @@ CREATE TABLE phpbb_privmsgs (
privmsgs_to_userid int(11) DEFAULT '0' NOT NULL,
privmsgs_date int(11) DEFAULT '0' NOT NULL,
privmsgs_ip char(8) NOT NULL,
privmsgs_bbcode_uid varchar(10) DEFAULT '0' NOT NULL,
privmsgs_bbcode_uid char(10) DEFAULT '0' NOT NULL,
PRIMARY KEY (privmsgs_id),
KEY privmsgs_from_userid (privmsgs_from_userid),
KEY privmsgs_to_userid (privmsgs_to_userid)
@ -411,7 +412,6 @@ CREATE TABLE phpbb_topics (
topic_replies int(11) DEFAULT '0' NOT NULL,
topic_status tinyint(3) DEFAULT '0' NOT NULL,
topic_type tinyint(3) DEFAULT '0' NOT NULL,
topic_notify tinyint(3) DEFAULT '0',
topic_last_post_id int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (topic_id),
KEY forum_id (forum_id),

View file

@ -181,6 +181,7 @@ CREATE INDEX forum_id_phpbb_forum_prune_index ON phpbb_forum_prune (forum_id);
-------------------------------------------------------- */
CREATE TABLE phpbb_groups (
group_id int4 DEFAULT nextval('phpbb_groups_id_seq'::text) NOT NULL,
group_type int2 DEFAULT '1' NOT NULL,
group_name varchar(100) NOT NULL,
group_description varchar(255) NOT NULL,
group_moderator int4 NOT NULL,