From 85b55fa7015a191de910cfd235503219adb3bd07 Mon Sep 17 00:00:00 2001
From: Graham Eames <grahamje@users.sourceforge.net>
Date: Sun, 11 Dec 2005 21:10:41 +0000
Subject: 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
---
 phpBB/install/schemas/mysql_schema.sql | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'phpBB/install/schemas/mysql_schema.sql')

diff --git a/phpBB/install/schemas/mysql_schema.sql b/phpBB/install/schemas/mysql_schema.sql
index fa8702dbf7..feb5bf1c66 100644
--- a/phpBB/install/schemas/mysql_schema.sql
+++ b/phpBB/install/schemas/mysql_schema.sql
@@ -876,6 +876,7 @@ CREATE TABLE phpbb_users (
    user_lastpage varchar(100) DEFAULT '' NOT NULL,
    user_last_confirm_key varchar(10) DEFAULT '' 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_lang varchar(30) DEFAULT '' 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)
 );
 
+# 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'
 CREATE TABLE phpbb_words (
    word_id mediumint(8) UNSIGNED NOT NULL auto_increment,
-- 
cgit v1.2.1

