https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20669

Claire Gravely <claire_grav...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #75705|0                           |1
        is obsolete|                            |

--- Comment #7 from Claire Gravely <claire_grav...@hotmail.com> ---
Created attachment 78976
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78976&action=edit
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.grav...@bsz-bw.de>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to