r70065 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70064‎ | r70065 | r70066 >
Date:05:08, 28 July 2010
Author:overlordq
Status:ok
Tags:
Comment:
Followup to r69961, update PG schema
Modified paths:
  • /trunk/phase3/maintenance/postgres/archives/patch-categorylinks-better-collation.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/postgres/archives/patch-categorylinks-better-collation.sql
@@ -1,7 +1,7 @@
22 CREATE TYPE link_type AS ENUM ('page', 'subcat', 'file');
33 DROP INDEX cl_sortkey;
44 ALTER TABLE categorylinks
5 - ADD COLUMN cl_raw_sortkey TEXT NULL DEFAULT NULL,
 5+ ADD COLUMN cl_sortkey_prefix TEXT NOT NULL DEFAULT '',
66 ADD COLUMN cl_collation SMALLINT NOT NULL DEFAULT 0,
77 ADD COLUMN cl_type link_type NOT NULL DEFAULT 'page';
88 CREATE INDEX cl_collation ON categorylinks ( cl_collation );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69961Reconcept cl_raw_sortkey as cl_sortkey_prefix...simetrical19:27, 26 July 2010

Status & tagging log