aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/create_schema_files.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-10-13 23:24:30 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-10-13 23:24:30 -0500
commit94ffbb4050b2985ee62be0ecc0c6a244532e43ca (patch)
treeb6682a9080b6cf5c35cee14b10d2f4a42085fe31 /phpBB/develop/create_schema_files.php
parentcb937841269017d13058208378e4c9ad79718c6e (diff)
downloadforums-94ffbb4050b2985ee62be0ecc0c6a244532e43ca.tar
forums-94ffbb4050b2985ee62be0ecc0c6a244532e43ca.tar.gz
forums-94ffbb4050b2985ee62be0ecc0c6a244532e43ca.tar.bz2
forums-94ffbb4050b2985ee62be0ecc0c6a244532e43ca.tar.xz
forums-94ffbb4050b2985ee62be0ecc0c6a244532e43ca.zip
[ticket/11103] Add is_disabled column to notifications table
EXTENSION AUTHORS TAKE NOTE! This is to prevent errors with notifications from extensions! Set is_disabled to 1 for all your notifications when your extension is disabled so they are ignored and do not cause errors. When your extension is enabled again, set is_disabled to 0 and your notifications will be working again. PHPBB3-11103
Diffstat (limited to 'phpBB/develop/create_schema_files.php')
-rw-r--r--phpBB/develop/create_schema_files.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index a1bef4a85a..69aca10e6c 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -1303,6 +1303,7 @@ function get_schema_struct()
'item_parent_id' => array('UINT', 0),
'user_id' => array('UINT', 0),
'unread' => array('BOOL', 1),
+ 'is_disabled' => array('BOOL', 0),
'time' => array('TIMESTAMP', 1),
'data' => array('TEXT_UNI', ''),
),
@@ -1314,6 +1315,7 @@ function get_schema_struct()
'user_id' => array('INDEX', 'user_id'),
'time' => array('INDEX', 'time'),
'unread' => array('INDEX', 'unread'),
+ 'is_disabled' => array('INDEX', 'is_disabled'),
),
);