* Add validate table and val_ip column through the updater.

This commit is contained in:
Brion Vibber 2005-05-27 02:36:30 +00:00
parent 16e1e51d27
commit 324fe246f8
3 changed files with 7 additions and 0 deletions

View file

@ -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 ===

View file

@ -0,0 +1,4 @@
-- Column added 2005-05-24
ALTER TABLE /*$wgDBprefix*/validate
ADD COLUMN val_ip varchar(20) NOT NULL default '';

View file

@ -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 ) {