Koha/installer/data/mysql/db_revs/210600001.pl
Jonathan Druart 29b79ce9c7 Bug 25078: Add exec flags
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-08-16 15:18:10 +02:00

13 lines
324 B
Perl
Executable file

use Modern::Perl;
{
bug_number => "28489",
description => "Modify sessions.a_session from longtext to longblob",
up => sub {
my ($args) = @_;
my $dbh = $args->{dbh};
$dbh->do('DELETE FROM sessions');
$dbh->do('ALTER TABLE sessions MODIFY a_session LONGBLOB NOT NULL');
},
}