diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-19 15:49:49 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-19 15:50:32 -0500 |
| commit | 471ca5e7dc8276e80e790e05a2ae36dfe35cfe10 (patch) | |
| tree | bf2fd0ba9d1778be4e9b5058d93c07f948401e00 /phpBB/install/database_update.php | |
| parent | c7c3ab07c64b0cefa46231a92dc47080c108e4cf (diff) | |
| download | forums-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/install/database_update.php')
| -rw-r--r-- | phpBB/install/database_update.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 73637122ce..eceb0c8fc3 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -1133,7 +1133,7 @@ function database_update_info() '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', ''), ), @@ -1145,7 +1145,7 @@ function database_update_info() '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'), ), ), USER_NOTIFICATIONS_TABLE => array( |
