From: Jan Schneider Date: Thu, 23 Dec 2010 16:18:55 +0000 (+0100) Subject: alarm_params needs to be a BLOB to store serialized Horde_Mime_Part objects. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f3c72fc3a9018da169bc32610c33b5367b8d43bc;p=horde.git alarm_params needs to be a BLOB to store serialized Horde_Mime_Part objects. --- diff --git a/framework/Alarm/migration/Horde/Alarm/2_horde_alarms_params_blob.php b/framework/Alarm/migration/Horde/Alarm/2_horde_alarms_params_blob.php new file mode 100644 index 000000000..aa6126511 --- /dev/null +++ b/framework/Alarm/migration/Horde/Alarm/2_horde_alarms_params_blob.php @@ -0,0 +1,13 @@ +changeColumn('horde_alarms', 'alarm_params', 'binary'); + } + + public function down() + { + $this->changeColumn('horde_alarms', 'alarm_params', 'text'); + } +} diff --git a/horde/scripts/upgrades/2010-12-23_horde_alarms_params_blob.sql b/horde/scripts/upgrades/2010-12-23_horde_alarms_params_blob.sql new file mode 100644 index 000000000..ffc7fcb06 --- /dev/null +++ b/horde/scripts/upgrades/2010-12-23_horde_alarms_params_blob.sql @@ -0,0 +1 @@ +ALTER TABLE horde_alarms CHANGE COLUMN alarm_params alarm_params BLOB;