|
Line 0
Link Here
|
| 0 |
- |
1 |
use Modern::Perl; |
|
|
2 |
use Koha::Installer::Output qw(say_warning say_success say_info); |
| 3 |
|
| 4 |
return { |
| 5 |
bug_number => "38522", |
| 6 |
description => "increase erm_agreements.license_info length", |
| 7 |
up => sub { |
| 8 |
my ($args) = @_; |
| 9 |
my ( $dbh, $out ) = @$args{qw(dbh out)}; |
| 10 |
|
| 11 |
# Do you stuffs here |
| 12 |
$dbh->do(q{ALTER TABLE erm_agreements MODIFY COLUMN license_info mediumtext}); |
| 13 |
|
| 14 |
# Print useful stuff here |
| 15 |
# tables |
| 16 |
say $out "Set erm_agreements.license_info to type mediumtext."; |
| 17 |
}, |
| 18 |
}; |