mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11103] Update indexes on notifications/user notifications tables
PHPBB3-11103
This commit is contained in:
@@ -857,19 +857,9 @@ CREATE TABLE phpbb_notifications (
|
||||
)
|
||||
/
|
||||
|
||||
CREATE INDEX phpbb_notifications_item_type ON phpbb_notifications (item_type)
|
||||
CREATE INDEX phpbb_notifications_item_ident ON phpbb_notifications (item_type, item_id)
|
||||
/
|
||||
CREATE INDEX phpbb_notifications_item_id ON phpbb_notifications (item_id)
|
||||
/
|
||||
CREATE INDEX phpbb_notifications_item_pid ON phpbb_notifications (item_parent_id)
|
||||
/
|
||||
CREATE INDEX phpbb_notifications_user_id ON phpbb_notifications (user_id)
|
||||
/
|
||||
CREATE INDEX phpbb_notifications_time ON phpbb_notifications (time)
|
||||
/
|
||||
CREATE INDEX phpbb_notifications_unread ON phpbb_notifications (unread)
|
||||
/
|
||||
CREATE INDEX phpbb_notifications_is_enabled ON phpbb_notifications (is_enabled)
|
||||
CREATE INDEX phpbb_notifications_user ON phpbb_notifications (user_id, unread)
|
||||
/
|
||||
|
||||
CREATE SEQUENCE phpbb_notifications_seq
|
||||
|
Reference in New Issue
Block a user