From: OverlordQ Date: Thu, 12 Jan 2012 17:10:48 +0000 (+0000) Subject: Followup to whatever revision added us_chunk_inx X-Git-Tag: 1.31.0-rc.0~25335 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=44ce86ac01edb1d75ce7d00b5cb6e4826afd16a1;p=lhc%2Fweb%2Fwiklou.git Followup to whatever revision added us_chunk_inx --- diff --git a/includes/installer/PostgresUpdater.php b/includes/installer/PostgresUpdater.php index 7381bfdfe0..af60b147f7 100644 --- a/includes/installer/PostgresUpdater.php +++ b/includes/installer/PostgresUpdater.php @@ -116,6 +116,7 @@ class PostgresUpdater extends DatabaseUpdater { array( 'addPgField', 'interwiki', 'iw_wikiid', "TEXT NOT NULL DEFAULT ''"), array( 'addPgField', 'revision', 'rev_sha1', "TEXT NOT NULL DEFAULT ''" ), array( 'addPgField', 'archive', 'ar_sha1', "TEXT NOT NULL DEFAULT ''" ), + array( 'addPgField', 'uploadstash', 'us_chunk_inx', "INTEGER NULL" ), # type changes array( 'changeField', 'archive', 'ar_deleted', 'smallint', '' ), diff --git a/maintenance/postgres/tables.sql b/maintenance/postgres/tables.sql index d86e18403e..c85701850d 100644 --- a/maintenance/postgres/tables.sql +++ b/maintenance/postgres/tables.sql @@ -371,6 +371,7 @@ CREATE TABLE uploadstash ( us_source_type TEXT, us_timestamp TIMESTAMPTZ, us_status TEXT, + us_chunk_inx INTEGER NULL, us_size INTEGER, us_sha1 TEXT, us_mime TEXT,