1 $DBversion = 'XXX'; # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
3 if( column_exists( 'issuingrules', 'chargename' ) ) {
4 $dbh->do( "ALTER TABLE issuingrules DROP chargename" );
7 # Always end with this (adjust the bug info)
8 SetVersion( $DBversion );
9 print "Upgrade to $DBversion done (Bug 21753: Drop chargename from issuingrules )\n";