summaryrefslogtreecommitdiff
path: root/db/08to09_pg.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/08to09_pg.sql')
-rw-r--r--db/08to09_pg.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/08to09_pg.sql b/db/08to09_pg.sql
index 004c77b36..fe9eccb2a 100644
--- a/db/08to09_pg.sql
+++ b/db/08to09_pg.sql
@@ -57,3 +57,7 @@ alter table subscription
add index subscription_subscriber_idx using btree(subscriber,created),
drop index subscription_subscribed_idx,
add index subscription_subscribed_idx using btree(subscribed,created);
+
+alter table notice
+ drop index notice_profile_id_idx,
+ add index notice_profile_id_idx using btree(profile_id,created,id);