Mwalker has uploaded a new change for review.
https://gerrit.wikimedia.org/r/82551
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice
refs/changes/51/82551/1
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: newchange
Gerrit-Change-Id: I56d34fa7084e71e456858bc1bf59a01ec73d53fa
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits