diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-12-15 21:08:26 -0600 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-12-15 22:06:32 -0600 |
commit | fad6bc5a7e58ddd370b88f73712de350b61bca29 (patch) | |
tree | 611d148fbb763acab35abbf7d70720e99667cbf9 /phpBB/install/schemas/postgres_schema.sql | |
parent | 47bed3321634d888a51a611e6586c012a27eb1eb (diff) | |
download | forums-fad6bc5a7e58ddd370b88f73712de350b61bca29.tar forums-fad6bc5a7e58ddd370b88f73712de350b61bca29.tar.gz forums-fad6bc5a7e58ddd370b88f73712de350b61bca29.tar.bz2 forums-fad6bc5a7e58ddd370b88f73712de350b61bca29.tar.xz forums-fad6bc5a7e58ddd370b88f73712de350b61bca29.zip |
[ticket/11103] unread -> notification_read
PHPBB3-11103
Diffstat (limited to 'phpBB/install/schemas/postgres_schema.sql')
-rw-r--r-- | phpBB/install/schemas/postgres_schema.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/schemas/postgres_schema.sql b/phpBB/install/schemas/postgres_schema.sql index 6d9a910912..504ffe8282 100644 --- a/phpBB/install/schemas/postgres_schema.sql +++ b/phpBB/install/schemas/postgres_schema.sql @@ -617,14 +617,14 @@ CREATE TABLE phpbb_notifications ( item_id INT4 DEFAULT '0' NOT NULL CHECK (item_id >= 0), item_parent_id INT4 DEFAULT '0' NOT NULL CHECK (item_parent_id >= 0), user_id INT4 DEFAULT '0' NOT NULL CHECK (user_id >= 0), - unread INT2 DEFAULT '1' NOT NULL CHECK (unread >= 0), + notification_read INT2 DEFAULT '0' NOT NULL CHECK (notification_read >= 0), notification_time INT4 DEFAULT '1' NOT NULL CHECK (notification_time >= 0), data varchar(4000) DEFAULT '' NOT NULL, PRIMARY KEY (notification_id) ); CREATE INDEX phpbb_notifications_item_ident ON phpbb_notifications (item_type, item_id); -CREATE INDEX phpbb_notifications_user ON phpbb_notifications (user_id, unread); +CREATE INDEX phpbb_notifications_user ON phpbb_notifications (user_id, notification_read); /* Table: 'phpbb_poll_options' |