aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/create_schema_files.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-10-19 15:49:49 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-10-19 15:50:32 -0500
commit471ca5e7dc8276e80e790e05a2ae36dfe35cfe10 (patch)
treebf2fd0ba9d1778be4e9b5058d93c07f948401e00 /phpBB/develop/create_schema_files.php
parentc7c3ab07c64b0cefa46231a92dc47080c108e4cf (diff)
downloadforums-471ca5e7dc8276e80e790e05a2ae36dfe35cfe10.tar
forums-471ca5e7dc8276e80e790e05a2ae36dfe35cfe10.tar.gz
forums-471ca5e7dc8276e80e790e05a2ae36dfe35cfe10.tar.bz2
forums-471ca5e7dc8276e80e790e05a2ae36dfe35cfe10.tar.xz
forums-471ca5e7dc8276e80e790e05a2ae36dfe35cfe10.zip
[ticket/11103] Change is_disabled to is_enabled
If you're following along and would like to update your DB, you can run the following queries to do so: ALTER TABLE phpbb_notifications CHANGE `is_disabled` `is_enabled` TINYINT( 1 ) NOT NULL DEFAULT '1'; UPDATE `phpbb_notifications` SET is_enabled = 1; PHPBB3-11103
Diffstat (limited to 'phpBB/develop/create_schema_files.php')
-rw-r--r--phpBB/develop/create_schema_files.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index 69aca10e6c..aa0f13ccb3 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -1303,7 +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),
+ 'is_enabled' => array('BOOL', 0),
'time' => array('TIMESTAMP', 1),
'data' => array('TEXT_UNI', ''),
),
@@ -1315,7 +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'),
+ 'is_enabled' => array('INDEX', 'is_enabled'),
),
);