From aac4aa2c6f8fd1b462511e3982952ba34de642a6 Mon Sep 17 00:00:00 2001 From: OverlordQ Date: Tue, 20 Jul 2010 05:59:51 +0000 Subject: [PATCH] Followup to r69542, since the new installer doesn't support PG, this is going into updaters.inc --- maintenance/postgres/tables.sql | 4 +++- maintenance/updaters.inc | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/maintenance/postgres/tables.sql b/maintenance/postgres/tables.sql index 231aafe1d0..c36f7bf614 100644 --- a/maintenance/postgres/tables.sql +++ b/maintenance/postgres/tables.sql @@ -392,7 +392,9 @@ CREATE TABLE interwiki ( iw_prefix TEXT NOT NULL UNIQUE, iw_url TEXT NOT NULL, iw_local SMALLINT NOT NULL, - iw_trans SMALLINT NOT NULL DEFAULT 0 + iw_trans SMALLINT NOT NULL DEFAULT 0, + iw_api TEXT NOT NULL, + iw_wikiid TEXT NOT NULL, ); diff --git a/maintenance/updaters.inc b/maintenance/updaters.inc index 9535260228..6dec3d4e8b 100644 --- a/maintenance/updaters.inc +++ b/maintenance/updaters.inc @@ -1436,6 +1436,8 @@ function do_postgres_updates() { array( "user_newtalk", "user_last_timestamp", "TIMESTAMPTZ" ), array( "logging", "log_user_text", "TEXT NOT NULL DEFAULT ''" ), array( "logging", "log_page", "INTEGER" ), + array( "interwiki", "iw_api", "TEXT NOT NULL"), + array( "interwiki", "iw_wikiid", "TEXT NOT NULL"), ); -- 2.20.1