Koha/installer/data/mysql/db_revs/221200019.pl
Tomas Cohen Arazi ba601ca37f
Bug 33368: DBRev 22.12.00.019
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-04-06 12:53:25 -03:00

22 lines
747 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "33368",
description => "Extend borrowers.flags to bigint",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
ALTER TABLE borrower_modifications
MODIFY COLUMN `flags` bigint(11)
});
$dbh->do(q{
ALTER TABLE borrowers
MODIFY COLUMN `flags` bigint(11) DEFAULT NULL COMMENT 'will include a number associated with the staff member''s permissions'
});
$dbh->do(q{
ALTER TABLE deletedborrowers
MODIFY COLUMN `flags` bigint(11) DEFAULT NULL COMMENT 'will include a number associated with the staff member''s permissions'
});
},
};