aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/schemas/mysql_41_schema.sql
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/schemas/mysql_41_schema.sql')
-rw-r--r--phpBB/install/schemas/mysql_41_schema.sql9
1 files changed, 2 insertions, 7 deletions
diff --git a/phpBB/install/schemas/mysql_41_schema.sql b/phpBB/install/schemas/mysql_41_schema.sql
index 361f53c313..423b97567a 100644
--- a/phpBB/install/schemas/mysql_41_schema.sql
+++ b/phpBB/install/schemas/mysql_41_schema.sql
@@ -442,13 +442,8 @@ CREATE TABLE phpbb_notifications (
time int(11) UNSIGNED DEFAULT '1' NOT NULL,
data text 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)
) CHARACTER SET `utf8` COLLATE `utf8_bin`;