Koha/installer/data/mysql/atomicupdate/bug-23797.perl
Owen Leonard f8c5b54acf Bug 23797: (follow-up) Increase the size of opac_news.lang
This patch adds a database update to increase the size of the
opac_news.lang column in order to accommodate longer values.

Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-07-23 11:33:34 +02:00

7 lines
304 B
Perl

$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do( "ALTER TABLE opac_news CHANGE lang lang VARCHAR(50)" );
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 23797: Extend the opac_news lang column to accommodate longer values)\n";
}