*Revert r20302, no use for this index
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 10 Mar 2007 18:19:07 +0000 (18:19 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 10 Mar 2007 18:19:07 +0000 (18:19 +0000)
maintenance/postgres/tables.sql

index fb53d87..9cafcb3 100644 (file)
@@ -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 (