Koha/installer/data/mysql/db_revs/230600012.pl
Tomas Cohen Arazi 951722370a
Bug 33379: DBRev 23.06.00.012
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-07-20 12:59:12 -03:00

18 lines
499 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => 33379,
description => "Remove unused column virtualshelfcontents.flags",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
if ( column_exists( 'virtualshelfcontents', 'flags' ) ) {
$dbh->do(
q{
ALTER TABLE virtualshelfcontents DROP COLUMN flags;
}
);
say $out "Removed column 'virtualshelfcontents.flags'";
}
},
};