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

(-)a/installer/data/mysql/atomicupdate/bug_34438.pl (-1 / +15 lines)
Line 0 Link Here
0
- 
1
use Modern::Perl;
2
3
return {
4
    bug_number  => "34438",
5
    description => "Add lang to to the borrower_modifications table",
6
    up          => sub {
7
        my ($args) = @_;
8
        my $dbh = $args->{dbh};
9
        if ( !column_exists( 'borrower_modifications', 'lang' ) ) {
10
            $dbh->do(
11
                "ALTER TABLE `borrower_modifications` ADD COLUMN `lang` VARCHAR(25) DEFAULT NULL AFTER `primary_contact_method`"
12
            );
13
        }
14
    },
15
    }

Return to bug 34438