mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 11:44:08 +02:00
[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
This commit is contained in:
@@ -438,6 +438,7 @@ CREATE TABLE phpbb_notifications (
|
||||
item_parent_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
unread tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
is_disabled tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
time int(11) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
data blob NOT NULL,
|
||||
PRIMARY KEY (notification_id),
|
||||
@@ -446,7 +447,8 @@ CREATE TABLE phpbb_notifications (
|
||||
KEY item_pid (item_parent_id),
|
||||
KEY user_id (user_id),
|
||||
KEY time (time),
|
||||
KEY unread (unread)
|
||||
KEY unread (unread),
|
||||
KEY is_disabled (is_disabled)
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user