Adamw has uploaded a new change for review.

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


Change subject: Initial sqlite compatibility
......................................................................

Initial sqlite compatibility

This begins to make us compatible with the default WMF continuous integration.
We don't have to support any past migrations.

Change-Id: Id5095b95e107ec86c2a37fa2e8658b3c5dd9b126
---
M CentralNotice.php
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice 
refs/changes/93/55793/1

diff --git a/CentralNotice.php b/CentralNotice.php
index ead11ee..d1dd5fe 100644
--- a/CentralNotice.php
+++ b/CentralNotice.php
@@ -426,6 +426,13 @@
                                $base . '/patches/patch-bucketing.sql', true
                        )
                );
+       } elseif ( $updater->getDB()->getType() == 'sqlite' ) {
+               $updater->addExtensionUpdate(
+                       array(
+                               'addTable', 'cn_notices',
+                               $base . '/CentralNotice.sql', true
+                       )
+               );
        }
        return true;
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id5095b95e107ec86c2a37fa2e8658b3c5dd9b126
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>

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

Reply via email to