1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 13:30:25 +02:00

[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
This commit is contained in:
Nathan Guse
2012-10-19 15:49:49 -05:00
parent c7c3ab07c6
commit 471ca5e7dc
7 changed files with 19 additions and 19 deletions

View File

@@ -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'),
),
);