0ae3c80624a8453a534fc85f0544693d433dced8
[koha.git] / installer / data / mysql / atomicupdate / bug_23151.perl
1 $DBversion = 'XXX';
2 if ( CheckVersion( $DBversion ) ) {
3     print "Running... ";
4     unless ( column_exists( 'borrower_modifications', 'changed_fields' ) ) {
5         print "Running... ";
6         $dbh->do("ALTER TABLE borrower_modifications ADD changed_fields MEDIUMTEXT AFTER verification_token;");
7     }
8     print "Ran\n";
9     SetVersion( $DBversion );
10     print "Upgrade to $DBversion done (Bug 23151 - Add borrower_modifications.changed_fields column)\n";
11 }