Putting the db revision from 105 into 106 as it wasn't
authorJoshua Ferraro <jmf@liblime.com>
Mon, 4 Aug 2008 13:32:55 +0000 (08:32 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 4 Aug 2008 13:32:55 +0000 (08:32 -0500)
applied in 105

installer/data/mysql/updatedatabase.pl

index 6f875e4..c200878 100755 (executable)
@@ -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'");