dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aafa19
)
*Revert r20302, no use for this index
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 10 Mar 2007 18:19:07 +0000
(18:19 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 10 Mar 2007 18:19:07 +0000
(18:19 +0000)
maintenance/postgres/tables.sql
patch
|
blob
|
history
diff --git
a/maintenance/postgres/tables.sql
b/maintenance/postgres/tables.sql
index
fb53d87
..
9cafcb3
100644
(file)
--- 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 (