Index: trunk/extensions/ConfirmAccount/backend/schema/ConfirmAccountUpdater.hooks.php |
— | — | @@ -13,12 +13,11 @@ |
14 | 14 | if ( $updater->getDB()->getType() == 'mysql' ) { |
15 | 15 | $base = "$base/mysql"; |
16 | 16 | |
17 | | - $updater->addExtensionUpdate( array( 'addTable', 'account_requests', "$base/ConfirmAccount.sql", true ) ); |
18 | | - $updater->addExtensionUpdate( array( 'addField', 'account_requests', 'acr_filename', |
19 | | - "$base/archives/patch-acr_filename.sql", true ) ); |
20 | | - $updater->addExtensionUpdate( array( 'addTable', 'account_credentials', "$base/patch-account_credentials.sql", true ) ); |
21 | | - $updater->addExtensionUpdate( array( 'addField', 'account_requests', 'acr_areas', "$base/patch-acr_areas.sql", true ) ); |
22 | | - $updater->addExtensionUpdate( array( 'addIndex', 'account_requests', 'acr_email', "$base/patch-email-index.sql", true ) ); |
| 17 | + $updater->addExtensionTable( 'account_requests', "$base/ConfirmAccount.sql", true ); |
| 18 | + $updater->addExtensionField( 'account_requests', 'acr_filename', "$base/patch-acr_filename.sql" ); |
| 19 | + $updater->addExtensionTable( 'addTable', 'account_credentials', "$base/patch-account_credentials.sql", true ); |
| 20 | + $updater->addExtensionField( 'account_requests', 'acr_areas', "$base/patch-acr_areas.sql", true ); |
| 21 | + $updater->addExtensionIndex( 'account_requests', 'acr_email', "$base/patch-email-index.sql", true ); |
23 | 22 | } elseif ( $updater->getDB()->getType() == 'postgres' ) { |
24 | 23 | $base = "$base/postgres"; |
25 | 24 | |