Followup to whatever revision added us_chunk_inx
authorOverlordQ <overlordq@users.mediawiki.org>
Thu, 12 Jan 2012 17:10:48 +0000 (17:10 +0000)
committerOverlordQ <overlordq@users.mediawiki.org>
Thu, 12 Jan 2012 17:10:48 +0000 (17:10 +0000)
includes/installer/PostgresUpdater.php
maintenance/postgres/tables.sql

index 7381bfd..af60b14 100644 (file)
@@ -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', '' ),
index d86e184..c857018 100644 (file)
@@ -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,