Paladox has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/136636

Change subject: Add support for sqlite
......................................................................

Add support for sqlite

Change-Id: I3db95d2a6882051789ae478662be3b8eeae3fc61
---
M backend/schema/ConfirmAccountUpdater.hooks.php
R backend/schema/sqlite/ConfirmAccount.sqlite.sql
2 files changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ConfirmAccount 
refs/changes/36/136636/1

diff --git a/backend/schema/ConfirmAccountUpdater.hooks.php 
b/backend/schema/ConfirmAccountUpdater.hooks.php
index 9ac4126..6720dc7 100644
--- a/backend/schema/ConfirmAccountUpdater.hooks.php
+++ b/backend/schema/ConfirmAccountUpdater.hooks.php
@@ -11,7 +11,7 @@
        public static function addSchemaUpdates( DatabaseUpdater $updater ) {
                $base = dirname( __FILE__ );
                if ( $updater->getDB()->getType() == 'sqlite' ) {
-                       $base = "$base/mysql";
+                       $base = "$base/sqlite";
 
                        $updater->addExtensionTable( 'account_requests', 
"$base/ConfirmAccount.sqlite.sql" );
                        $updater->addExtensionField( 'account_requests', 
'acr_filename', "$base/patch-acr_filename.sql" );
diff --git a/backend/schema/mysql/ConfirmAccount.sqlite.sql 
b/backend/schema/sqlite/ConfirmAccount.sqlite.sql
similarity index 100%
rename from backend/schema/mysql/ConfirmAccount.sqlite.sql
rename to backend/schema/sqlite/ConfirmAccount.sqlite.sql

-- 
To view, visit https://gerrit.wikimedia.org/r/136636
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3db95d2a6882051789ae478662be3b8eeae3fc61
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ConfirmAccount
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>
Gerrit-Reviewer: MarkAHershberger <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to