Koha/installer/data/mysql/db_revs/221200002.pl
Tomas Cohen Arazi 2d724ae68e
Bug 27424: DBRev 22.12.00.002
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-01-31 10:55:21 -03:00

11 lines
340 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "27424",
description => "Add column to specify an SMTP server as the default",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{ALTER TABLE smtp_servers ADD COLUMN `is_default` tinyint(1) NOT NULL DEFAULT 0 AFTER debug});
},
};