From 7fb452c2a7d58f96379588f64559688b3555f8a5 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Wed, 8 Sep 2010 17:51:42 +0000 Subject: [PATCH] Add new columns to categorylinks --- includes/installer/PostgresUpdater.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/installer/PostgresUpdater.php b/includes/installer/PostgresUpdater.php index e36c246331..ce2dc51441 100644 --- a/includes/installer/PostgresUpdater.php +++ b/includes/installer/PostgresUpdater.php @@ -67,6 +67,9 @@ class PostgresUpdater extends DatabaseUpdater { array( 'addPgField', 'archive', 'ar_len', 'INTEGER' ), array( 'addPgField', 'archive', 'ar_page_id', 'INTEGER' ), array( 'addPgField', 'archive', 'ar_parent_id', 'INTEGER' ), + array( 'addPgField', 'categorylinks', 'cl_sortkey_prefix', "TEXT NOT NULL DEFAULT ''"), + array( 'addPgField', 'categorylinks', 'cl_collation', "TEXT NOT NULL DEFAULT 0"), + array( 'addPgField', 'categorylinks', 'cl_type', "TEXT NOT NULL DEFAULT 'page'"), array( 'addPgField', 'image', 'img_sha1', "TEXT NOT NULL DEFAULT ''" ), array( 'addPgField', 'ipblocks', 'ipb_allow_usertalk', 'SMALLINT NOT NULL DEFAULT 0' ), array( 'addPgField', 'ipblocks', 'ipb_anon_only', 'SMALLINT NOT NULL DEFAULT 0' ), -- 2.20.1