mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user