From: Greg Sabino Mullane Date: Wed, 8 Sep 2010 17:51:42 +0000 (+0000) Subject: Add new columns to categorylinks X-Git-Tag: 1.31.0-rc.0~35088 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=7fb452c2a7d58f96379588f64559688b3555f8a5;p=lhc%2Fweb%2Fwiklou.git Add new columns to categorylinks --- 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' ),