Koha/installer/data/mysql/db_revs/220600075.pl
Tomas Cohen Arazi 11a7a7d0b5
Bug 31948: DBRev 22.06.00.075
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-28 16:41:27 -03:00

13 lines
400 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "31948",
description => "Add timestamp to tmp_holdsqueue table",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{ALTER TABLE `tmp_holdsqueue` ADD `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP AFTER item_level_request});
say $out "";
},
};