18 lines
499 B
Perl
Executable file
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'";
|
|
}
|
|
},
|
|
};
|