Bug 22532: Database update
[koha-equinox.git] / installer / data / mysql / atomicupdate / Bug22532_remove_import_records_z39random.perl
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" );
5     }
6
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";
10 }