From 44ce86ac01edb1d75ce7d00b5cb6e4826afd16a1 Mon Sep 17 00:00:00 2001 From: OverlordQ Date: Thu, 12 Jan 2012 17:10:48 +0000 Subject: [PATCH] Followup to whatever revision added us_chunk_inx --- includes/installer/PostgresUpdater.php | 1 + maintenance/postgres/tables.sql | 1 + 2 files changed, 2 insertions(+) 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, -- 2.20.1