# - #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;
+++ /dev/null
-$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);
-}
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.