Bug 17355: DB changes
[koha.git] / installer / data / mysql / atomicupdate / bug_17355.perl
1 $DBversion = 'XXX'; # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
3
4     unless ( column_exists( 'authorised_value_categories', 'is_system' ) ) {
5         $dbh->do(q|
6             ALTER TABLE authorised_value_categories
7             ADD COLUMN is_system TINYINT(1) DEFAULT 0 AFTER category_name
8         |);
9     }
10
11     # Always end with this (adjust the bug info)
12     NewVersion( $DBversion, 17355, "Description");
13 }