Lines 5-10
if( CheckVersion( $DBversion ) ) {
Link Here
|
5 |
$dbh->do( "ALTER TABLE accountlines ADD `payment_type` varchar(80) default NULL AFTER accounttype" ); |
5 |
$dbh->do( "ALTER TABLE accountlines ADD `payment_type` varchar(80) default NULL AFTER accounttype" ); |
6 |
} |
6 |
} |
7 |
|
7 |
|
|
|
8 |
$dbh->do( q{INSERT IGNORE INTO account_offset_types ( type ) VALUES ('Void Payment')} ); |
9 |
|
8 |
SetVersion( $DBversion ); |
10 |
SetVersion( $DBversion ); |
9 |
print "Upgrade to $DBversion done (Bug 18786 - Add ability to create custom payment types)\n"; |
11 |
print "Upgrade to $DBversion done (Bug 18786 - Add ability to create custom payment types)\n"; |
10 |
} |
12 |
} |
11 |
- |
13 |
|