Koha/installer/data/mysql/db_revs/221200033.pl
Tomas Cohen Arazi a487bb847a
Bug 28328: DBRev 22.12.00.033
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-10 15:26:18 -03:00

19 lines
605 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "28328",
description => "Extend biblioitems.lccn",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
# Do you stuffs here
$dbh->do(q{
ALTER TABLE `biblioitems`
MODIFY COLUMN `lccn` longtext DEFAULT NULL COMMENT 'library of congress control number (MARC21 010$a)'
});
$dbh->do(q{
ALTER TABLE `deletedbiblioitems`
MODIFY COLUMN `lccn` longtext DEFAULT NULL COMMENT 'library of congress control number (MARC21 010$a)'
});
},
};