From f146b5fd58893da1c1ff90ad4b3a81d4471923ee Mon Sep 17 00:00:00 2001 From: Andrew Fuerste-Henry Date: Mon, 8 Mar 2021 16:10:07 +0000 Subject: [PATCH] DBRev 20.05.09.001 Signed-off-by: Andrew Fuerste-Henry --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_7806.perl | 8 -------- installer/data/mysql/updatedatabase.pl | 9 +++++++++ 3 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_7806.perl diff --git a/Koha.pm b/Koha.pm index 7770dc477e..0a656c1cef 100644 --- a/Koha.pm +++ b/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 = "20.05.09.000"; +$VERSION = "20.05.09.001"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_7806.perl b/installer/data/mysql/atomicupdate/bug_7806.perl deleted file mode 100644 index c027d2f2a1..0000000000 --- a/installer/data/mysql/atomicupdate/bug_7806.perl +++ /dev/null @@ -1,8 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - - sanitize_zero_date('aqorders', 'datecancellationprinted'); - sanitize_zero_date('old_issues', 'returndate'); - - NewVersion( $DBversion, 7806, "Remove remaining possible 0000-00-00 values"); -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 7e9e114c65..57a0540008 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -22543,6 +22543,15 @@ if ( CheckVersion($DBversion) ) { SetVersion ($DBversion); } +$DBversion = '20.05.09.001'; +if( CheckVersion( $DBversion ) ) { + + sanitize_zero_date('aqorders', 'datecancellationprinted'); + sanitize_zero_date('old_issues', 'returndate'); + + NewVersion( $DBversion, 7806, "Remove remaining possible 0000-00-00 values"); +} + # 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/'; -- 2.39.5