From: OverlordQ Date: Wed, 28 Jul 2010 05:08:21 +0000 (+0000) Subject: Followup to r69961, update PG schema X-Git-Tag: 1.31.0-rc.0~35870 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=6807e37e2073e32a41276168f65a8bae378d661d;p=lhc%2Fweb%2Fwiklou.git Followup to r69961, update PG schema --- diff --git a/maintenance/postgres/archives/patch-categorylinks-better-collation.sql b/maintenance/postgres/archives/patch-categorylinks-better-collation.sql index 29a2d29015..b3fa634645 100644 --- a/maintenance/postgres/archives/patch-categorylinks-better-collation.sql +++ b/maintenance/postgres/archives/patch-categorylinks-better-collation.sql @@ -1,7 +1,7 @@ CREATE TYPE link_type AS ENUM ('page', 'subcat', 'file'); DROP INDEX cl_sortkey; ALTER TABLE categorylinks - ADD COLUMN cl_raw_sortkey TEXT NULL DEFAULT NULL, + ADD COLUMN cl_sortkey_prefix TEXT NOT NULL DEFAULT '', ADD COLUMN cl_collation SMALLINT NOT NULL DEFAULT 0, ADD COLUMN cl_type link_type NOT NULL DEFAULT 'page'; CREATE INDEX cl_collation ON categorylinks ( cl_collation );