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

Warning changes for the other schema files

git-svn-id: file:///svn/phpbb/trunk@5646 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames
2006-03-17 21:02:32 +00:00
parent fb999487bc
commit f2cc5c093d
5 changed files with 106 additions and 8 deletions

View File

@@ -2,7 +2,6 @@
# SQLite Schema for phpBB 3.x - (c) phpBB Group, 2005
#
# $Id$
# @todo user_last_warning to users table and warnings table
#
BEGIN TRANSACTION;
@@ -889,6 +888,7 @@ CREATE TABLE phpbb_users (
user_lastpage varchar(100) NOT NULL DEFAULT '',
user_last_confirm_key varchar(10) NOT NULL DEFAULT '',
user_warnings tinyint(4) NOT NULL DEFAULT '0',
user_last_warning int(11) NOT NULL DEFAULT '0',
user_login_attempts smallint(4) NOT NULL DEFAULT '0',
user_posts mediumint(8) NOT NULL DEFAULT '0',
user_lang varchar(30) NOT NULL DEFAULT '',
@@ -943,6 +943,15 @@ CREATE INDEX user_birthday_phpbb_users on phpbb_users (user_birthday);
CREATE INDEX user_email_hash_phpbb_users on phpbb_users (user_email_hash);
CREATE INDEX username_phpbb_users on phpbb_users (username);
# Table: phpbb_warnings
CREATE TABLE phpbb_warnings (
warning_id INTEGER PRIMARY KEY NOT NULL,
user_id mediumint(8) NOT NULL DEFAULT '0',
post_id mediumint(8) NOT NULL DEFAULT '0',
log_id mediumint(8) NOT NULL DEFAULT '0',
warning_time int(11) NOT NULL DEFAULT '0'
);
# Table: phpbb_words
CREATE TABLE phpbb_words (
word_id INTEGER PRIMARY KEY NOT NULL,