mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/11413] Undo editing the user_notifications table
item_type is not equivalent to notification_type_name, it can be a generic string (typically used to be able to subscribe to multiple notification types while only subscribing to one item PHPBB3-11413
This commit is contained in:
@@ -1175,7 +1175,7 @@ CREATE INDEX phpbb_topics_watch_notify_stat ON phpbb_topics_watch (notify_status
|
||||
Table: 'phpbb_user_notifications'
|
||||
*/
|
||||
CREATE TABLE phpbb_user_notifications (
|
||||
notification_type_id INT2 DEFAULT '0' NOT NULL CHECK (notification_type_id >= 0),
|
||||
item_type varchar(255) DEFAULT '' NOT NULL,
|
||||
item_id INT4 DEFAULT '0' NOT NULL CHECK (item_id >= 0),
|
||||
user_id INT4 DEFAULT '0' NOT NULL CHECK (user_id >= 0),
|
||||
method varchar(255) DEFAULT '' NOT NULL,
|
||||
|
Reference in New Issue
Block a user