Bug 20415: DBRev 19.12.00.056

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2020-03-26 11:54:44 +00:00
parent f00eda15f0
commit f2579bd8d2
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
3 changed files with 11 additions and 2 deletions

View File

@ -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.12.00.055";
$VERSION = "19.12.00.056";
sub version {
return $VERSION;

View File

@ -1 +0,0 @@
DELETE FROM systempreferences WHERE variable='UseKohaPlugins';

View File

@ -21296,6 +21296,7 @@ if( CheckVersion( $DBversion ) ) {
$dbh->do(q|
ALTER TABLE suggestions ADD CONSTRAINT `suggestions_ibfk_lastmodificationby` FOREIGN KEY (`lastmodificationby`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE
A
|);
}
@ -21335,6 +21336,15 @@ if( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, 23590, "Add lastmodificationby and lastmodificationdate to the suggestions table");
}
$DBversion = '19.12.00.056';
if( CheckVersion( $DBversion ) ) {
$dbh->do( "DELETE FROM systempreferences WHERE variable='UseKohaPlugins'" );
NewVersion( $DBversion, 20415, "Remove UseKohaPlugins preference");
}
# 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/';