Koha/installer/data/mysql/atomicupdate/subscription_add_enddate.pl
Henri-Damien LAURENT 837ce4a0d7 Adding enddate to Subscriptions
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-30 11:29:24 +02:00

7 lines
294 B
Perl

#!/usr/bin/perl
use C4::Context;
my $dbh=C4::Context->dbh;
$dbh->do("ALTER TABLE `subscription` ADD `enddate` date default NULL");
$dbh->do("ALTER TABLE subscriptionhistory CHANGE enddate histenddate DATE default NULL");
print "Upgrade to $DBversion done ( Adding enddate to subscription)\n";