Koha/installer/data/mysql/atomicupdate/0008-opac-description-for-authorised-values.pl
2009-09-30 11:30:28 +02:00

7 lines
264 B
Perl
Executable file

#! /usr/bin/perl
use strict;
use warnings;
use C4::Context;
my $dbh=C4::Context->dbh;
$dbh->do("ALTER TABLE authorised_values ADD COLUMN `lib_opac` VARCHAR(80) default NULL AFTER `lib`");
print "Upgrade done (Added a lib_opac field in authorised_values table)\n";