Koha/installer/data/mysql/db_revs/230600023.pl
Tomas Cohen Arazi aea9fce4b0
Bug 34843: DBRev 23.06.00.023
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-09-22 11:35:50 -03:00

17 lines
484 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => 34843,
description => "Restore comment on article_requests.toc_request",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
ALTER TABLE article_requests MODIFY COLUMN toc_request tinyint(4) NOT NULL DEFAULT 0
COMMENT 'borrower requested table of contents'
AFTER updated_on
}
);
},
};