4bfda5334a373fce0807b226f7ee0da0e16eff3c
[koha.git] / installer / data / mysql / atomicupdate / bug_21756.perl
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 }