Line 0
Link Here
|
0 |
- |
1 |
$DBversion = 'XXX'; # will be replaced by the RM |
|
|
2 |
if( CheckVersion( $DBversion ) ) { |
3 |
$dbh->do(q{ |
4 |
INSERT IGNORE INTO account_offset_types ( type ) VALUES ( 'Account Fee' ); |
5 |
}); |
6 |
|
7 |
$dbh->do(q{ |
8 |
INSERT IGNORE INTO account_offset_types ( type ) VALUES ( 'Hold Expired' ); |
9 |
}); |
10 |
|
11 |
SetVersion( $DBversion ); |
12 |
print "Upgrade to $DBversion done (Bug 21756 - Add 'Account Fee' and 'Hold Expired' to the account_offset_types table if missing)\n"; |
13 |
} |