Putting the db revision from 105 into 106 as it wasn't
applied in 105
This commit is contained in:
parent
ef44a8fcb4
commit
0a70c31f60
1 changed files with 7 additions and 0 deletions
|
@ -1924,6 +1924,13 @@ END_SQL
|
|||
$DBversion = "3.00.00.106";
|
||||
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
||||
$dbh->do("DELETE FROM systempreferences WHERE variable='noOPACHolds'");
|
||||
|
||||
# db revision 105 didn't apply correctly, so we're rolling this into 106
|
||||
$dbh->do("INSERT INTO `systempreferences`
|
||||
(variable,value,explanation,options,type)
|
||||
VALUES
|
||||
('SMSSendDriver','','Sets which SMS::Send driver is used to send SMS messages.','','free')");
|
||||
|
||||
print "Upgrade to $DBversion done (remove default '0000-00-00' in subscriptionhistory.enddate field)\n";
|
||||
$dbh->do("ALTER TABLE `subscriptionhistory` CHANGE `enddate` `enddate` DATE NULL DEFAULT NULL ");
|
||||
$dbh->do("UPDATE subscriptionhistory SET enddate=NULL WHERE enddate='0000-00-00'");
|
||||
|
|
Loading…
Reference in a new issue