From: Brion Vibber Date: Fri, 27 May 2005 02:36:30 +0000 (+0000) Subject: * Add validate table and val_ip column through the updater. X-Git-Tag: 1.5.0alpha2~79 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=324fe246f837c83bcdfbf042790685609f920234;p=lhc%2Fweb%2Fwiklou.git * Add validate table and val_ip column through the updater. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 3e183e5eda..cf2a651de1 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -216,6 +216,7 @@ Various bugfixes, small features, and a few experimental things: admnistrators out of normal users. * links and brokenlinks tables merged to pagelinks; this will reduce pain dealing with moves and deletes of widely-linked pages. +* Add validate table and val_ip column through the updater. === Caveats === diff --git a/maintenance/archives/patch-val_ip.sql b/maintenance/archives/patch-val_ip.sql new file mode 100644 index 0000000000..9214218dc5 --- /dev/null +++ b/maintenance/archives/patch-val_ip.sql @@ -0,0 +1,4 @@ +-- Column added 2005-05-24 + +ALTER TABLE /*$wgDBprefix*/validate + ADD COLUMN val_ip varchar(20) NOT NULL default ''; diff --git a/maintenance/updaters.inc b/maintenance/updaters.inc index 54abac4bf6..cb249a7900 100644 --- a/maintenance/updaters.inc +++ b/maintenance/updaters.inc @@ -24,6 +24,7 @@ $wgNewTables = array( array( 'logging', 'patch-logging.sql' ), array( 'user_rights', 'patch-user_rights.sql' ), array( 'groups', 'patch-userlevels.sql' ), + array( 'validate', 'patch-validate.sql' ), ); $wgNewFields = array( @@ -47,6 +48,7 @@ $wgNewFields = array( array( 'image', 'img_width', 'patch-img_width.sql' ), array( 'image', 'img_metadata', 'patch-img_metadata.sql' ), array( 'image', 'img_media_type', 'patch-img_media_type.sql' ), + array( 'validate', 'val_ip', 'patch-val_ip.sql' ), ); function rename_table( $from, $to, $patch ) {