From: Aaron Schulz Date: Sat, 10 Mar 2007 18:19:07 +0000 (+0000) Subject: *Revert r20302, no use for this index X-Git-Tag: 1.31.0-rc.0~53819 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=f12dd21e080d0a17c7d3ccac313412ebafb93a72;p=lhc%2Fweb%2Fwiklou.git *Revert r20302, no use for this index --- diff --git a/maintenance/postgres/tables.sql b/maintenance/postgres/tables.sql index fb53d872d7..9cafcb3324 100644 --- a/maintenance/postgres/tables.sql +++ b/maintenance/postgres/tables.sql @@ -121,7 +121,7 @@ CREATE TABLE page_restrictions ( pr_user INTEGER NULL, pr_expiry TIMESTAMPTZ NULL ); -CREATE UNIQUE INDEX pr_pagetype ON page_restrictions (pr_page,pr_type); +ALTER TABLE page_restrictions ADD CONSTRAINT page_restrictions_pk PRIMARY KEY (pr_page,pr_type); CREATE TABLE archive2 (