From f423abb9edb414d1efdb6517347be3ec8443c12e Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Tue, 1 Nov 2011 19:02:13 +0000 Subject: [PATCH] =?utf8?q?Follow=20up=20r101151=20=E2=80=94=20store=20hex?= =?utf8?q?=20representation=20of=20binary=20data=20in=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- includes/installer/PostgresUpdater.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', '' ), -- 2.20.1