Adamw has submitted this change and it was merged.

Change subject: Change the update type to index from modify
......................................................................


Change the update type to index from modify

This solves an issue where a new install which had just run
CentralNotice.sql would attempt to apply this update because
it was not registered in the update table.

Change-Id: I56d34fa7084e71e456858bc1bf59a01ec73d53fa
---
M patches/CNDatabasePatcher.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Adamw: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/patches/CNDatabasePatcher.php b/patches/CNDatabasePatcher.php
index d00d77d..0887100 100644
--- a/patches/CNDatabasePatcher.php
+++ b/patches/CNDatabasePatcher.php
@@ -113,7 +113,7 @@
                        );
                        $updater->addExtensionUpdate(
                                array(
-                                        'modifyField', 'cn_templates', 
'tmp_category',
+                                        'addIndex', 'cn_templates', 
'tmp_category',
                                         $base . '/patch-custom-groups.sql', 
true
                                )
                        );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I56d34fa7084e71e456858bc1bf59a01ec73d53fa
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>
Gerrit-Reviewer: Adamw <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to