Koha/installer/data/mysql/db_revs/220600046.pl
Tomas Cohen Arazi 4b4b8b9d54
Bug 15348: DBRev 22.06.00.046
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-16 10:59:04 -03:00

18 lines
527 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "15348",
description => "Add new column aqorders.estimated_delivery_date",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
unless ( column_exists( 'aqorders', 'estimated_delivery_date' ) ) {
$dbh->do(q{
ALTER TABLE aqorders
ADD estimated_delivery_date date DEFAULT NULL COMMENT 'Estimated delivery date'
AFTER suppliers_report
});
}
},
};