Koha/installer/data/mysql/db_revs/231200058.pl
Katrin Fischer 5cf60b5329
Bug 28869: DBRev 23.12.00.058
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-05-17 10:36:25 +02:00

17 lines
512 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => 28869,
description => "Add authorised_value_categories.is_integer_only",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
if ( !column_exists( 'authorised_value_categories', 'is_integer_only' ) ) {
$dbh->do(
q{
ALTER TABLE authorised_value_categories ADD COLUMN is_integer_only tinyint(1) DEFAULT 0 NOT NULL AFTER `is_system`
}
);
}
},
};