mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Schema changes for the warning code committed last night
Note: MySQL only at this point in time until the code is finalised git-svn-id: file:///svn/phpbb/trunk@5327 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b41525229b
commit
85b55fa701
1 changed files with 11 additions and 0 deletions
|
@ -876,6 +876,7 @@ CREATE TABLE phpbb_users (
|
||||||
user_lastpage varchar(100) DEFAULT '' NOT NULL,
|
user_lastpage varchar(100) DEFAULT '' NOT NULL,
|
||||||
user_last_confirm_key varchar(10) DEFAULT '' NOT NULL,
|
user_last_confirm_key varchar(10) DEFAULT '' NOT NULL,
|
||||||
user_warnings tinyint(4) DEFAULT '0' NOT NULL,
|
user_warnings tinyint(4) DEFAULT '0' NOT NULL,
|
||||||
|
user_last_warning int(11) DEFAULT '0' NOT NULL,
|
||||||
user_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
user_posts mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
user_lang varchar(30) DEFAULT '' NOT NULL,
|
user_lang varchar(30) DEFAULT '' NOT NULL,
|
||||||
user_timezone decimal(5,2) DEFAULT '0.0' NOT NULL,
|
user_timezone decimal(5,2) DEFAULT '0.0' NOT NULL,
|
||||||
|
@ -939,6 +940,16 @@ CREATE TABLE phpbb_users_passwd (
|
||||||
KEY passwd_time (passwd_time)
|
KEY passwd_time (passwd_time)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
# Table: 'phpbb_warnings'
|
||||||
|
CREATE TABLE phpbb_warnings (
|
||||||
|
warning_id mediumint(8) unsigned NOT NULL auto_increment,
|
||||||
|
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
log_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
warning_time int(11) DEFAULT '0' NOT NULL,
|
||||||
|
PRIMARY KEY (`warning_id`)
|
||||||
|
);
|
||||||
|
|
||||||
# Table: 'phpbb_words'
|
# Table: 'phpbb_words'
|
||||||
CREATE TABLE phpbb_words (
|
CREATE TABLE phpbb_words (
|
||||||
word_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
word_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||||
|
|
Loading…
Add table
Reference in a new issue