saper has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/99676


Change subject: Add missng uploadstash.us_props for PostgreSQL
......................................................................

Add missng uploadstash.us_props for PostgreSQL

This field was introduced in e5d41cca909a8ec1b19c6c080388c885854be3f7
but only for MySQL.

Change-Id: I057b1dd845a5ab7ae05f5597454981a6e2c12698
---
M includes/installer/PostgresUpdater.php
M maintenance/postgres/tables.sql
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/76/99676/1

diff --git a/includes/installer/PostgresUpdater.php 
b/includes/installer/PostgresUpdater.php
index e8a1c80..dd07bc2 100644
--- a/includes/installer/PostgresUpdater.php
+++ b/includes/installer/PostgresUpdater.php
@@ -169,6 +169,7 @@
                                "INTEGER NOT NULL PRIMARY KEY DEFAULT 
nextval('archive_ar_id_seq')" ),
                        array( 'addPgField', 'externallinks', 'el_id',
                                "INTEGER NOT NULL PRIMARY KEY DEFAULT 
nextval('externallinks_el_id_seq')" ),
+                       array( 'addPgField', 'uploadstash', 'us_props', "BYTEA" 
),
 
                        # type changes
                        array( 'changeField', 'archive', 'ar_deleted', 
'smallint', '' ),
diff --git a/maintenance/postgres/tables.sql b/maintenance/postgres/tables.sql
index d0d1e92..37c8cf6 100644
--- a/maintenance/postgres/tables.sql
+++ b/maintenance/postgres/tables.sql
@@ -376,6 +376,7 @@
   us_key          TEXT,
   us_orig_path    TEXT,
   us_path         TEXT,
+  us_props        BYTEA,
   us_source_type  TEXT,
   us_timestamp    TIMESTAMPTZ,
   us_status       TEXT,

-- 
To view, visit https://gerrit.wikimedia.org/r/99676
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I057b1dd845a5ab7ae05f5597454981a6e2c12698
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: saper <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to