From 671bc4e5737781f9749ca45e2d4fff277bdeae24 Mon Sep 17 00:00:00 2001 From: Juan Pablo Carlino Date: Tue, 29 Mar 2016 15:58:15 -0300 Subject: [PATCH] Use MEDIUMTEXT type for muc_room.opts in MySQL schema --- sql/mysql.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/mysql.sql b/sql/mysql.sql index b7a86d0e6..5150fc45b 100644 --- a/sql/mysql.sql +++ b/sql/mysql.sql @@ -275,7 +275,7 @@ CREATE UNIQUE INDEX i_pubsub_subscription_opt ON pubsub_subscription_opt(subid(3 CREATE TABLE muc_room ( name text NOT NULL, host text NOT NULL, - opts text NOT NULL, + opts mediumtext NOT NULL, created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;