From bed7e65fc0db6a0bc1672282f887a9ef970e125b Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 1 Oct 2015 22:13:16 -0700 Subject: [PATCH] channel_data value should be a mediumtext --- src/database/tables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/tables.js b/src/database/tables.js index a5919d54..1591135a 100644 --- a/src/database/tables.js +++ b/src/database/tables.js @@ -108,7 +108,7 @@ const TBL_CHANNEL_DATA = "" + "CREATE TABLE IF NOT EXISTS `channel_data` (" + "`channel_id` INT NOT NULL," + "`key` VARCHAR(20) NOT NULL," + - "`value` TEXT CHARACTER SET utf8mb4 NOT NULL," + + "`value` MEDIUMTEXT CHARACTER SET utf8mb4 NOT NULL," + "PRIMARY KEY (`channel_id`, `key`)," + "FOREIGN KEY (`channel_id`) REFERENCES `channels`(`id`) ON DELETE CASCADE" + ") CHARACTER SET utf8";