From: Mark A. Hershberger Date: Tue, 1 Nov 2011 19:02:13 +0000 (+0000) Subject: Follow up r101151 — store hex representation of binary data in text X-Git-Tag: 1.31.0-rc.0~26770 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=f423abb9edb414d1efdb6517347be3ec8443c12e;p=lhc%2Fweb%2Fwiklou.git Follow up r101151 — store hex representation of binary data in text --- diff --git a/includes/installer/PostgresUpdater.php b/includes/installer/PostgresUpdater.php index 5cf2ce7b31..aec0a9e5d7 100644 --- a/includes/installer/PostgresUpdater.php +++ b/includes/installer/PostgresUpdater.php @@ -108,8 +108,8 @@ class PostgresUpdater extends DatabaseUpdater { array( 'addPgField', 'logging', 'log_page', 'INTEGER' ), array( 'addPgField', 'interwiki', 'iw_api', "TEXT NOT NULL DEFAULT ''"), array( 'addPgField', 'interwiki', 'iw_wikiid', "TEXT NOT NULL DEFAULT ''"), - array( 'addPgField', 'revision', 'rev_sha1', "BYTEA NOT NULL DEFAULT ''" ), - array( 'addPgField', 'archive', 'ar_sha1', "BYTEA NOT NULL DEFAULT ''" ), + array( 'addPgField', 'revision', 'rev_sha1', "TEXT NOT NULL DEFAULT ''" ), + array( 'addPgField', 'archive', 'ar_sha1', "TEXT NOT NULL DEFAULT ''" ), # type changes array( 'changeField', 'archive', 'ar_deleted', 'smallint', '' ),