Jonathan Druart
81ee4a0e2f
Had to decrease the number because of a patch removed from the branch but forgot to rename the dbrev file Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
15 lines
446 B
Perl
Executable file
15 lines
446 B
Perl
Executable file
use Modern::Perl;
|
|
|
|
return {
|
|
bug_number => "29093",
|
|
description => "Add column article_requests.toc_request",
|
|
up => sub {
|
|
my ($args) = @_;
|
|
my ($dbh, $out) = @$args{qw(dbh out)};
|
|
if( !column_exists('article_requests', 'toc_request') ) {
|
|
$dbh->do( q|
|
|
ALTER TABLE article_requests ADD COLUMN toc_request tinyint(4) NOT NULL DEFAULT 0 AFTER updated_on
|
|
|);
|
|
}
|
|
},
|
|
}
|