Permalink
Browse files

Switch blob to longblob for messages

  • Loading branch information...
1 parent 98151cd commit 35b87fd5f4dc09bd020cd48c99f4d8804d43b59b @cdujeu cdujeu committed Oct 6, 2016
Showing with 4 additions and 2 deletions.
  1. +1 −1 core/src/plugins/mq.sql/create.mysql
  2. +3 −1 dist/php/6.5.4.mysql
@@ -1,5 +1,5 @@
CREATE TABLE IF NOT EXISTS `ajxp_mq_queues` (
`channel_name` varchar(255) NOT NULL,
- `content` BLOB NOT NULL,
+ `content` LONGBLOB NOT NULL,
PRIMARY KEY (`channel_name`)
) CHARACTER SET utf8 COLLATE utf8_unicode_ci;
@@ -33,9 +33,11 @@ CREATE INDEX ajxp_task_schedule ON ajxp_tasks (schedule);
/* SEPARATOR */
CREATE INDEX ajxp_task_nodes_idx ON ajxp_tasks (nodes);
/* SEPARATOR */
+DROP TABLE IF EXISTS `ajxp_mq_queues`;
+/* SEPARATOR */
CREATE TABLE IF NOT EXISTS `ajxp_mq_queues` (
`channel_name` varchar(255) NOT NULL,
- `content` BLOB NOT NULL,
+ `content` LONGBLOB NOT NULL,
PRIMARY KEY (`channel_name`)
) DEFAULT CHARSET=utf8;
/* SEPARATOR */

0 comments on commit 35b87fd

Please sign in to comment.