Bug 20133: Add new column library_groups.ft_hide_patron_info
[koha.git] / installer / data / mysql / atomicupdate / bug_20133.perl
1 $DBversion = 'XXX';  # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
3
4     if( !column_exists( 'library_groups', 'ft_hide_patron_info' ) ) {
5         $dbh->do( "ALTER TABLE library_groups ADD COLUMN ft_hide_patron_info tinyint(1) NOT NULL DEFAULT 0 AFTER description" );
6     }
7
8     SetVersion( $DBversion );
9     print "Upgrade to $DBversion done (Bug XXXXX - Add library_groups.ft_hide_patron_info)\n";
10 }