From: Greg Sabino Mullane Date: Tue, 18 Mar 2008 01:39:36 +0000 (+0000) Subject: Add updatelog table. X-Git-Tag: 1.31.0-rc.0~49034 X-Git-Url: https://git.cyclocoop.org/admin/%7B%7Blocalurl:Special:UserLogin%7D%7D?a=commitdiff_plain;h=3898b3b16a20c765f5937d629552556d32c2157a;p=lhc%2Fweb%2Fwiklou.git Add updatelog table. --- diff --git a/maintenance/postgres/archives/patch-updatelog.sql b/maintenance/postgres/archives/patch-updatelog.sql new file mode 100644 index 0000000000..dda80aa48a --- /dev/null +++ b/maintenance/postgres/archives/patch-updatelog.sql @@ -0,0 +1,4 @@ + +CREATE TABLE updatelog ( + ul_key TEXT NOT NULL PRIMARY KEY +); diff --git a/maintenance/postgres/tables.sql b/maintenance/postgres/tables.sql index 22929a6c8b..a27e4b1b7a 100644 --- a/maintenance/postgres/tables.sql +++ b/maintenance/postgres/tables.sql @@ -529,6 +529,12 @@ CREATE TABLE protected_titles ( ); CREATE UNIQUE INDEX protected_titles_unique ON protected_titles(pt_namespace, pt_title); + +CREATE TABLE updatelog ( + ul_key TEXT NOT NULL PRIMARY KEY +); + + CREATE TABLE mediawiki_version ( type TEXT NOT NULL, mw_version TEXT NOT NULL, diff --git a/maintenance/updaters.inc b/maintenance/updaters.inc index dc88aa2bf6..b30c515116 100644 --- a/maintenance/updaters.inc +++ b/maintenance/updaters.inc @@ -1353,6 +1353,7 @@ function do_postgres_updates() { array("profiling", "patch-profiling.sql"), array("protected_titles", "patch-protected_titles.sql"), array("redirect", "patch-redirect.sql"), + array("updatelog", "patch-updatelog.sql"), ); $newcols = array(