1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/11103] Update indexes on notifications/user notifications tables

PHPBB3-11103
This commit is contained in:
Nathan Guse
2012-12-08 14:12:25 -06:00
parent 2227ceab8b
commit 0d6c8f46ff
9 changed files with 18 additions and 88 deletions

View File

@@ -442,13 +442,8 @@ CREATE TABLE phpbb_notifications (
time int(11) UNSIGNED DEFAULT '1' NOT NULL,
data blob NOT NULL,
PRIMARY KEY (notification_id),
KEY item_type (item_type),
KEY item_id (item_id),
KEY item_pid (item_parent_id),
KEY user_id (user_id),
KEY time (time),
KEY unread (unread),
KEY is_enabled (is_enabled)
KEY item_ident (item_type, item_id),
KEY user (user_id, unread)
);