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:
0cb85f3
)
*Add pr_id column to fix horrible breakage (Bug 9103)
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 25 Feb 2007 19:49:51 +0000
(19:49 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 25 Feb 2007 19:49:51 +0000
(19:49 +0000)
maintenance/postgres/tables.sql
patch
|
blob
|
history
diff --git
a/maintenance/postgres/tables.sql
b/maintenance/postgres/tables.sql
index
62e021e
..
a934d93
100644
(file)
--- a/
maintenance/postgres/tables.sql
+++ b/
maintenance/postgres/tables.sql
@@
-109,7
+109,9
@@
CREATE TABLE pagecontent ( -- replaces reserved word 'text'
);
+CREATE SEQUENCE pr_id_val;
CREATE TABLE page_restrictions (
+ pr_id INTEGER NOT NULL UNIQUE DEFAULT nextval('pr_id_val'),
pr_page INTEGER NULL REFERENCES page (page_id) ON DELETE CASCADE,
pr_type TEXT NOT NULL,
pr_level TEXT NOT NULL,