Kyle M Hall
1ed59cbe55
Signed-off-by: Agustin Moyano <agustinmoyano@theke.io> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
18 lines
621 B
Perl
18 lines
621 B
Perl
$DBversion = 'XXX'; # will be replaced by the RM
|
|
if( CheckVersion( $DBversion ) ) {
|
|
|
|
$dbh->do(q{
|
|
CREATE TABLE IF NOT EXISTS plugin_methods (
|
|
plugin_class varchar(255) NOT NULL,
|
|
plugin_method varchar(255) NOT NULL,
|
|
PRIMARY KEY ( `plugin_class` (191), `plugin_method` (191) )
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
});
|
|
|
|
require Koha::Plugins;
|
|
Koha::Plugins->new()->InstallPlugins;
|
|
|
|
# Always end with this (adjust the bug info)
|
|
SetVersion( $DBversion );
|
|
print "Upgrade to $DBversion done (Bug XXXXX - description)\n";
|
|
}
|