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