Bug 13757 - DBRev 16.12.00.016
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 24 Mar 2017 18:49:15 +0000 (18:49 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 24 Mar 2017 18:49:15 +0000 (18:49 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha.pm
installer/data/mysql/atomicupdate/bug_13757-add_opac_editable_to_borrower_attribute_types.perl [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 10f3958..1cbabf6 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 = "16.12.00.015";
+$VERSION = "16.12.00.016";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_13757-add_opac_editable_to_borrower_attribute_types.perl b/installer/data/mysql/atomicupdate/bug_13757-add_opac_editable_to_borrower_attribute_types.perl
deleted file mode 100644 (file)
index 1477763..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-$DBversion = "16.12.00.XXX";
-if ( CheckVersion($DBversion) ) {
-    unless ( column_exists( 'borrower_attribute_types', 'opac_editable' ) )
-    {
-        $dbh->do(q{
-            ALTER TABLE borrower_attribute_types
-                ADD COLUMN `opac_editable` tinyint(1) NOT NULL default 0 AFTER `opac_display`
-        });
-    }
-
-    print "Upgrade to $DBversion done (Bug 13757: Make patron attributes editable in the opac if set to 'editable in OPAC'\n";
-    SetVersion($DBversion);
-}
index 8da386d..ffc1c07 100755 (executable)
@@ -13991,6 +13991,20 @@ if( CheckVersion( $DBversion ) ) {
     print "Upgrade to $DBversion done (Bug 18066 - Hea version 2)\n";
 }
 
+$DBversion = "16.12.00.016";
+if ( CheckVersion($DBversion) ) {
+    unless ( column_exists( 'borrower_attribute_types', 'opac_editable' ) )
+    {
+        $dbh->do(q{
+            ALTER TABLE borrower_attribute_types
+                ADD COLUMN `opac_editable` tinyint(1) NOT NULL default 0 AFTER `opac_display`
+        });
+    }
+
+    print "Upgrade to $DBversion done (Bug 13757: Make patron attributes editable in the opac if set to 'editable in OPAC'\n";
+    SetVersion($DBversion);
+}
+
 # DEVELOPER PROCESS, search for anything to execute in the db_update directory
 # SEE bug 13068
 # if there is anything in the atomicupdate, read and execute it.