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

[ticket/10411] Add new table for teampage

PHPBB3-10411
This commit is contained in:
Joas Schilling
2012-11-13 11:29:25 +01:00
parent ff7465e75f
commit df735f4603
9 changed files with 142 additions and 10 deletions

View File

@@ -855,8 +855,8 @@ CREATE TABLE phpbb_reports (
report_time INT4 DEFAULT '0' NOT NULL CHECK (report_time >= 0),
report_text TEXT DEFAULT '' NOT NULL,
reported_post_text TEXT DEFAULT '' NOT NULL,
reported_post_bitfield varchar(255) DEFAULT '' NOT NULL,
reported_post_uid varchar(8) DEFAULT '' NOT NULL,
reported_post_bitfield varchar(255) DEFAULT '' NOT NULL,
PRIMARY KEY (report_id)
);
@@ -1007,6 +1007,21 @@ CREATE TABLE phpbb_styles (
CREATE UNIQUE INDEX phpbb_styles_style_name ON phpbb_styles (style_name);
/*
Table: 'phpbb_teampage'
*/
CREATE SEQUENCE phpbb_teampage_seq;
CREATE TABLE phpbb_teampage (
teampage_id INT4 DEFAULT nextval('phpbb_teampage_seq'),
group_id INT4 DEFAULT '0' NOT NULL CHECK (group_id >= 0),
teampage_name varchar(255) DEFAULT '' NOT NULL,
teampage_position INT4 DEFAULT '0' NOT NULL CHECK (teampage_position >= 0),
teampage_parent INT4 DEFAULT '0' NOT NULL CHECK (teampage_parent >= 0),
PRIMARY KEY (teampage_id)
);
/*
Table: 'phpbb_topics'
*/