Bug 21617: DBRev 18.06.00.042
authorNick Clemens <nick@bywatersolutions.com>
Fri, 19 Oct 2018 16:50:40 +0000 (16:50 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 19 Oct 2018 17:27:34 +0000 (17:27 +0000)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha.pm
installer/data/mysql/atomicupdate/bug21617.perl [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 955dbf3..5b8d778 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.041";
+$VERSION = "18.06.00.042";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug21617.perl b/installer/data/mysql/atomicupdate/bug21617.perl
deleted file mode 100644 (file)
index edbec60..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-$DBversion = 'XXX';  # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
-    $dbh->do( "alter table statistics change column ccode ccode varchar(80) default NULL" );
-
-    SetVersion( $DBversion );
-    print "Upgrade to $DBversion done (Bug 21617: Make statistics.ccode longer)\n";
-}
index 2f48eff..692604d 100755 (executable)
@@ -16670,6 +16670,14 @@ if( CheckVersion( $DBversion ) ) {
     print "Upgrade to $DBversion done (Bug 20772 - Add illrequestattributes.readonly and illrequest.price_paid columns)\n";
 }
 
+$DBversion = '18.06.00.042';
+if( CheckVersion( $DBversion ) ) {
+    $dbh->do( "alter table statistics change column ccode ccode varchar(80) default NULL" );
+
+    SetVersion( $DBversion );
+    print "Upgrade to $DBversion done (Bug 21617: Make statistics.ccode longer)\n";
+}
+
 # SEE bug 13068
 # if there is anything in the atomicupdate, read and execute it.