# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
-$VERSION = "19.06.00.005";
+$VERSION = "19.06.00.006";
sub version {
return $VERSION;
+++ /dev/null
-$DBversion = 'XXX';
-if( CheckVersion( $DBversion ) ) {
-
- unless ( TableExists('plugin_methods') ) {
- $dbh->do(q{
- CREATE TABLE 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({ enable_plugins => 1 })->InstallPlugins;
-
- SetVersion( $DBversion );
- print "Upgrade to $DBversion done (Bug 21073 - Improve plugin performance)\n";
-}
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
--- Table structure for table 'plugin_data'
+-- Table structure for table 'plugin_methods'
--
DROP TABLE IF EXISTS plugin_methods;
print "Upgrade to $DBversion done (Bug 9834 - Add the reserves.item_level_hold column)\n";
}
+$DBversion = '19.06.00.006';
+if( CheckVersion( $DBversion ) ) {
+
+ unless ( TableExists('plugin_methods') ) {
+ $dbh->do(q{
+ CREATE TABLE 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({ enable_plugins => 1 })->InstallPlugins;
+
+ SetVersion( $DBversion );
+ print "Upgrade to $DBversion done (Bug 21073 - Improve plugin performance)\n";
+}
+
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';