Bug 21073: DBRev 19.06.00.006
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
3175eebdfc
commit
c13eb384b3
2
Koha.pm
2
Koha.pm
|
|
@ -29,7 +29,7 @@ use vars qw{ $VERSION };
|
|||
# - #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;
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
$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";
|
||||
}
|
||||
|
|
@ -3536,7 +3536,7 @@ CREATE TABLE patron_consent (
|
|||
) 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;
|
||||
|
|
|
|||
|
|
@ -18741,6 +18741,26 @@ if( CheckVersion( $DBversion ) ) {
|
|||
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/';
|
||||
|
|
|
|||
Loading…
Reference in New Issue