1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

And the schema changes for the inactive user changes

git-svn-id: file:///svn/phpbb/trunk@6395 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames
2006-09-23 12:39:48 +00:00
parent cbece78f7b
commit a5a9f16c0d
7 changed files with 68 additions and 54 deletions

View File

@@ -356,7 +356,7 @@ CREATE TABLE phpbb_forums (
forum_name varchar(3000) DEFAULT '' NOT NULL,
forum_desc varchar(8000) DEFAULT '' NOT NULL,
forum_desc_bitfield varchar(252) DEFAULT '' NOT NULL,
forum_desc_options INT4 DEFAULT '0' NOT NULL CHECK (forum_desc_options >= 0),
forum_desc_options INT4 DEFAULT '7' NOT NULL CHECK (forum_desc_options >= 0),
forum_desc_uid varchar(5) DEFAULT '' NOT NULL,
forum_link varchar(255) DEFAULT '' NOT NULL,
forum_password varchar(40) DEFAULT '' NOT NULL,
@@ -365,7 +365,7 @@ CREATE TABLE phpbb_forums (
forum_rules varchar(8000) DEFAULT '' NOT NULL,
forum_rules_link varchar(255) DEFAULT '' NOT NULL,
forum_rules_bitfield varchar(252) DEFAULT '' NOT NULL,
forum_rules_options INT4 DEFAULT '0' NOT NULL CHECK (forum_rules_options >= 0),
forum_rules_options INT4 DEFAULT '7' NOT NULL CHECK (forum_rules_options >= 0),
forum_rules_uid varchar(5) DEFAULT '' NOT NULL,
forum_topics_per_page INT2 DEFAULT '0' NOT NULL,
forum_type INT2 DEFAULT '0' NOT NULL,
@@ -440,7 +440,7 @@ CREATE TABLE phpbb_groups (
group_name varchar_ci DEFAULT '' NOT NULL,
group_desc varchar(8000) DEFAULT '' NOT NULL,
group_desc_bitfield varchar(252) DEFAULT '' NOT NULL,
group_desc_options INT4 DEFAULT '0' NOT NULL CHECK (group_desc_options >= 0),
group_desc_options INT4 DEFAULT '7' NOT NULL CHECK (group_desc_options >= 0),
group_desc_uid varchar(5) DEFAULT '' NOT NULL,
group_display INT2 DEFAULT '0' NOT NULL CHECK (group_display >= 0),
group_avatar varchar(255) DEFAULT '' NOT NULL,
@@ -1239,6 +1239,8 @@ CREATE TABLE phpbb_users (
user_warnings INT2 DEFAULT '0' NOT NULL,
user_last_warning INT4 DEFAULT '0' NOT NULL CHECK (user_last_warning >= 0),
user_login_attempts INT2 DEFAULT '0' NOT NULL,
user_inactive_reason INT2 DEFAULT '0' NOT NULL,
user_inactive_time INT4 DEFAULT '0' NOT NULL CHECK (user_inactive_time >= 0),
user_posts INT4 DEFAULT '0' NOT NULL CHECK (user_posts >= 0),
user_lang varchar(30) DEFAULT '' NOT NULL,
user_timezone decimal(5,2) DEFAULT '0' NOT NULL,