# - #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 = "20.06.00.015";
+$VERSION = "20.06.00.016";
sub version {
return $VERSION;
+++ /dev/null
-$DBversion = 'XXX'; # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
-
- unless ( column_exists('branchtransfers', 'daterequested') ) {
- $dbh->do(
- qq{
- ALTER TABLE branchtransfers
- ADD
- `daterequested` timestamp NOT NULL default CURRENT_TIMESTAMP
- AFTER
- `itemnumber`
- }
- );
- }
-
- SetVersion( $DBversion );
- print "Upgrade to $DBversion done (Bug 23092 - Add 'daterequested' field to transfers table)\n";
-}
NewVersion( $DBversion, 23797, "Convert OpacLoginInstructions system preference to news block" );
}
+$DBversion = '20.06.00.016';
+if( CheckVersion( $DBversion ) ) {
+
+ unless ( column_exists('branchtransfers', 'daterequested') ) {
+ $dbh->do(
+ qq{
+ ALTER TABLE branchtransfers
+ ADD
+ `daterequested` timestamp NOT NULL default CURRENT_TIMESTAMP
+ AFTER
+ `itemnumber`
+ }
+ );
+ }
+
+ NewVersion( $DBversion, 23092, "Add 'daterequested' field to transfers table" );
+}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.