$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
# you can use $dbh here like:
$dbh->do( "INSERT IGNORE INTO authorised_value_categories (category_name) VALUES ('AV_CLASS');");
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 21730: Add new authorised value category AV_CLASS)\n";
}
('TERM'),
('ITEMTYPECAT'),
('PAYMENT_TYPE'),
('AV_CLASS'),
('ROADTYPE');
INSERT IGNORE INTO authorised_value_categories( category_name )
-