diff --git a/Koha.pm b/Koha.pm index 6a739e536c..e0a3f86986 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 = "18.06.00.054"; +$VERSION = "18.06.00.055"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_12365_-_add_note_column_to_issuingrules.perl b/installer/data/mysql/atomicupdate/bug_12365_-_add_note_column_to_issuingrules.perl deleted file mode 100644 index 9b800dbcf4..0000000000 --- a/installer/data/mysql/atomicupdate/bug_12365_-_add_note_column_to_issuingrules.perl +++ /dev/null @@ -1,9 +0,0 @@ -$DBversion = 'XXX'; -if( CheckVersion( $DBversion ) ) { - unless( column_exists( 'issuingrules', 'note' ) ) { - $dbh->do(q|ALTER TABLE `issuingrules` ADD `note` varchar(100) default NULL AFTER `article_requests`|); - } - - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug 12365: Add column issuingrules.note)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 67bea640a1..4f6aaa2257 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -16925,6 +16925,15 @@ if( CheckVersion( $DBversion ) ) { print "Upgrade to $DBversion done (Bug 18316 - Add column search_field.weight)\n"; } +$DBversion = '18.06.00.055'; +if( CheckVersion( $DBversion ) ) { + unless( column_exists( 'issuingrules', 'note' ) ) { + $dbh->do(q|ALTER TABLE `issuingrules` ADD `note` varchar(100) default NULL AFTER `article_requests`|); + } + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 12365: Add column issuingrules.note)\n"; +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it.