From: OverlordQ Date: Tue, 20 Jul 2010 05:59:51 +0000 (+0000) Subject: Followup to r69542, since the new installer doesn't support PG, this is going into... X-Git-Tag: 1.31.0-rc.0~36071 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=aac4aa2c6f8fd1b462511e3982952ba34de642a6;p=lhc%2Fweb%2Fwiklou.git Followup to r69542, since the new installer doesn't support PG, this is going into updaters.inc --- 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"), );