summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-10-04 10:37:14 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-10-05 14:32:01 (GMT)
commitd5bfadb07944d2b35dc7647b938b764685711e02 (patch)
tree979314f2661831b76ee1eee40cac45046b82dcea
parent412bee468a6a4432edce47cafd07a8b64562666e (diff)
downloadroundcubemail-plugins-kolab-d5bfadb07944d2b35dc7647b938b764685711e02.tar.gz
No default value allowed for BLOB/LONGTEXT columns
-rw-r--r--plugins/calendar/drivers/database/SQL/mysql.initial.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/drivers/database/SQL/mysql.initial.sql b/plugins/calendar/drivers/database/SQL/mysql.initial.sql
index 945d429..f2f5382 100644
--- a/plugins/calendar/drivers/database/SQL/mysql.initial.sql
+++ b/plugins/calendar/drivers/database/SQL/mysql.initial.sql
@@ -61,7 +61,7 @@ CREATE TABLE IF NOT EXISTS `attachments` (
`filename` varchar(255) NOT NULL DEFAULT '',
`mimetype` varchar(255) NOT NULL DEFAULT '',
`size` int(11) NOT NULL DEFAULT '0',
- `data` longtext NOT NULL DEFAULT '',
+ `data` longtext NOT NULL,
PRIMARY KEY(`attachment_id`),
CONSTRAINT `fk_attachments_event_id` FOREIGN KEY (`event_id`)
REFERENCES `events`(`event_id`) ON DELETE CASCADE ON UPDATE CASCADE