View | Details | Raw Unified | Return to bug 27424
Collapse All | Expand All

(-)a/installer/data/mysql/db_revs/221200002.pl (-2 / +3 lines)
Lines 6-11 return { Link Here
6
    up => sub {
6
    up => sub {
7
        my ($args) = @_;
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        $dbh->do(q{ALTER TABLE smtp_servers ADD COLUMN `is_default` tinyint(1) NOT NULL DEFAULT 0 AFTER debug});
9
        unless ( column_exists( 'smtp_servers', 'is_default' ) ) {
10
            $dbh->do(q{ALTER TABLE smtp_servers ADD COLUMN `is_default` tinyint(1) NOT NULL DEFAULT 0 AFTER debug});
11
        }
10
    },
12
    },
11
};
13
};
12
- 

Return to bug 27424