Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 35b87fd

Browse files
committed
Switch blob to longblob for messages
1 parent 98151cd commit 35b87fd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/src/plugins/mq.sql/create.mysql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CREATE TABLE IF NOT EXISTS `ajxp_mq_queues` (
22
`channel_name` varchar(255) NOT NULL,
3-
`content` BLOB NOT NULL,
3+
`content` LONGBLOB NOT NULL,
44
PRIMARY KEY (`channel_name`)
55
) CHARACTER SET utf8 COLLATE utf8_unicode_ci;

dist/php/6.5.4.mysql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ CREATE INDEX ajxp_task_schedule ON ajxp_tasks (schedule);
3333
/* SEPARATOR */
3434
CREATE INDEX ajxp_task_nodes_idx ON ajxp_tasks (nodes);
3535
/* SEPARATOR */
36+
DROP TABLE IF EXISTS `ajxp_mq_queues`;
37+
/* SEPARATOR */
3638
CREATE TABLE IF NOT EXISTS `ajxp_mq_queues` (
3739
`channel_name` varchar(255) NOT NULL,
38-
`content` BLOB NOT NULL,
40+
`content` LONGBLOB NOT NULL,
3941
PRIMARY KEY (`channel_name`)
4042
) DEFAULT CHARSET=utf8;
4143
/* SEPARATOR */

0 commit comments

Comments
 (0)