7617bc5a4fce3689ba3a7dda45eeb80b386b2c19
[koha-ffzg.git] / installer / data / mysql / atomicupdate / bug_18786.perl
1 $DBversion = 'XXX';  # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
3
4     if ( !column_exists( 'accountlines', 'payment_type' ) ) {
5         $dbh->do( "ALTER TABLE accountlines ADD `payment_type` varchar(80) default NULL AFTER accounttype" );
6     }
7
8     SetVersion( $DBversion );
9     print "Upgrade to $DBversion done (Bug 18786 - Add ability to create custom payment types)\n";
10 }