Bug 13560: DBRev 18.06.00.008
authorNick Clemens <nick@bywatersolutions.com>
Thu, 19 Jul 2018 17:19:38 +0000 (17:19 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 19 Jul 2018 17:22:18 +0000 (17:22 +0000)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha.pm
installer/data/mysql/atomicupdate/bug13560.perl [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 307fc20..25e5f9f 100644 (file)
--- 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.007";
+$VERSION = "18.06.00.008";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug13560.perl b/installer/data/mysql/atomicupdate/bug13560.perl
deleted file mode 100644 (file)
index 81e39bc..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-$DBversion = 'XXX';  # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
-    $dbh->do( "ALTER TABLE marc_modification_template_actions CHANGE action action ENUM('delete_field','add_field','update_field','move_field','copy_field','copy_and_replace_field')" );
-    SetVersion( $DBversion );
-    print "Upgrade to $DBversion done (Bug 13560 - need an add option in marc modification templates)\n";
-}
index 23fc71b..d92191c 100755 (executable)
@@ -16155,6 +16155,13 @@ if( CheckVersion( $DBversion ) ) {
     print "Upgrade to $DBversion done (Bug 7651 - Add separate permission for managing currencies and exchange rates)\n";
 }
 
+$DBversion = '18.06.00.008';  # will be replaced by the RM
+if( CheckVersion( $DBversion ) ) {
+    $dbh->do( "ALTER IGNORE TABLE marc_modification_template_actions CHANGE action action ENUM('delete_field','add_field','update_field','move_field','copy_field','copy_and_replace_field')" );
+    SetVersion( $DBversion );
+    print "Upgrade to $DBversion done (Bug 13560 - need an add option in marc modification templates)\n";
+}
+
 # SEE bug 13068
 # if there is anything in the atomicupdate, read and execute it.