Bug 27424: Update database
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
26d1e6540d
commit
37fcf837ce
|
|
@ -0,0 +1,11 @@
|
|||
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});
|
||||
},
|
||||
};
|
||||
Loading…
Reference in New Issue