Bug 17831: Database update - Tidy up frameworks in existing installations
[koha.git] / installer / data / mysql / atomicupdate / bug_17831_bibliosubject.perl
1 $DBversion = 'XXX';
2 if( CheckVersion( $DBversion ) ) {
3     $dbh->do( "UPDATE marc_subfield_structure SET kohafield = NULL WHERE kohafield = 'bibliosubject.subject';" );
4     SetVersion( $DBversion );
5     print "Upgrade to $DBversion done (Bug 17831 - Remove non-existing bibliosubject.subject from frameworks)\n";
6 }