summaryrefslogtreecommitdiff
path: root/maintenance/postgres
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2014-02-28 08:36:29 +0100
committerPierre Schmitz <pierre@archlinux.de>2014-02-28 08:36:29 +0100
commita4edbfa031eb4cd72678051f1510afde4f77951e (patch)
tree76cef11b1a13538c8982a7491dbbf7324d4a7b2a /maintenance/postgres
parent1b65fa2a5f4c48b02ceda934e9c1aee2d03ce453 (diff)
Update to MediaWiki 1.22.3
Diffstat (limited to 'maintenance/postgres')
-rw-r--r--maintenance/postgres/tables.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/postgres/tables.sql b/maintenance/postgres/tables.sql
index bc2428e4..0cc1b3d7 100644
--- a/maintenance/postgres/tables.sql
+++ b/maintenance/postgres/tables.sql
@@ -228,9 +228,9 @@ CREATE TABLE categorylinks (
CREATE UNIQUE INDEX cl_from ON categorylinks (cl_from, cl_to);
CREATE INDEX cl_sortkey ON categorylinks (cl_to, cl_sortkey, cl_from);
-CREATE SEQUENCE externallinks_id_seq;
+CREATE SEQUENCE externallinks_el_id_seq;
CREATE TABLE externallinks (
- el_id INTEGER NOT NULL PRIMARY KEY DEFAULT nextval('externallinks_id_seq'),
+ el_id INTEGER NOT NULL PRIMARY KEY DEFAULT nextval('externallinks_el_id_seq'),
el_from INTEGER NOT NULL REFERENCES page(page_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
el_to TEXT NOT NULL,
el_index TEXT NOT NULL