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

(-)a/installer/data/mysql/atomicupdate/bug_23151.perl (-4 lines)
Lines 1-11 Link Here
1
$DBversion = 'XXX';
1
$DBversion = 'XXX';
2
if ( CheckVersion( $DBversion ) ) {
2
if ( CheckVersion( $DBversion ) ) {
3
    print "Running... ";
4
    unless ( column_exists( 'borrower_modifications', 'changed_fields' ) ) {
3
    unless ( column_exists( 'borrower_modifications', 'changed_fields' ) ) {
5
        print "Running... ";
6
        $dbh->do("ALTER TABLE borrower_modifications ADD changed_fields MEDIUMTEXT AFTER verification_token;");
4
        $dbh->do("ALTER TABLE borrower_modifications ADD changed_fields MEDIUMTEXT AFTER verification_token;");
7
    }
5
    }
8
    print "Ran\n";
9
    SetVersion( $DBversion );
6
    SetVersion( $DBversion );
10
    print "Upgrade to $DBversion done (Bug 23151 - Add borrower_modifications.changed_fields column)\n";
7
    print "Upgrade to $DBversion done (Bug 23151 - Add borrower_modifications.changed_fields column)\n";
11
}
8
}
12
- 

Return to bug 23151