Bug 13560: DBRev 18.06.00.008

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2018-07-19 17:19:38 +00:00
parent 284226a496
commit 3286bead8e
3 changed files with 8 additions and 7 deletions

View File

@ -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;

View File

@ -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";
}

View File

@ -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.