Koha-clms/t/Koha
Kyle M Hall a6f035e188 Bug 20669: Add upgrade method to plugins
It would be nice if plugins had an upgrade method to handle altering tables and such when a new version of a plugin is installed. Right now it must be done in a completely bespoke manner.

Test Plan:
1) Apply this patch
2) Download the 2 most recent releases of the Kitchen Sink plugin
   https://github.com/bywatersolutions/koha-plugin-kitchen-sink/releases
3) Install the earlier release
4) Look at the configuration page, at the bottom it should say the
   plugin has never been upgraded
5) Install the newer release
6) Reload the configuration page, it should now say that the plugin
   was upgraded and give you the date and time of the upgrade

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 100385196e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b3f2a13a43)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2018-10-08 08:00:23 +02:00
..
Plugin Bug 20669: Add upgrade method to plugins 2018-10-08 08:00:23 +02:00
REST/Plugin Bug 19196: Rename page and per_page 2017-10-09 16:15:51 -03:00
SearchEngine/Zebra Bug 16660: (followup) Unit tests 2017-10-27 14:09:02 -03:00
Util Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Config.t Bug 19760: Fix Config.t test 2018-01-15 14:08:47 +00:00
ItemType.t Bug 12748: (QA followup) make new tests pass 2016-04-26 20:20:14 +00:00