Revision: 50096 Author: aaron Date: 2009-05-01 06:33:08 +0000 (Fri, 01 May 2009)
Log Message: ----------- Add default tables on update.php Modified Paths: -------------- trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php Modified: trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php =================================================================== --- trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php 2009-05-01 06:31:08 UTC (rev 50095) +++ trunk/extensions/ConfirmAccount/SpecialConfirmAccount.php 2009-05-01 06:33:08 UTC (rev 50096) @@ -218,15 +218,19 @@ $base = dirname(__FILE__); if( $wgDBtype == 'mysql' ) { + $wgExtNewTables[] = array('account_requests', "$base/confirmaccount.sql" ); + $wgExtNewFields[] = array('account_requests', 'acr_filename', "$base/archives/patch-acr_filename.sql" ); - + $wgExtNewTables[] = array('account_credentials', "$base/archives/patch-account_credentials.sql" ); $wgExtNewFields[] = array('account_requests', 'acr_areas', "$base/archives/patch-acr_areas.sql" ); $wgExtNewIndexes[] = array('account_requests', 'acr_email', "$base/archives/patch-email-index.sql" ); } else if( $wgDBtype == 'postgres' ) { + $wgExtNewTables[] = array('account_requests', "$base/confirmaccount.pg.sql" ); + $wgExtPGNewFields[] = array('account_requests', 'acr_held', "TIMESTAMPTZ" ); $wgExtPGNewFields[] = array('account_requests', 'acr_filename', "TEXT" ); $wgExtPGNewFields[] = array('account_requests', 'acr_storage_key', "TEXT" ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs