]> granicus.if.org Git - ejabberd/commitdiff
Use MEDIUMTEXT type for muc_room.opts in MySQL schema
authorJuan Pablo Carlino <jpcarlino@gmail.com>
Tue, 29 Mar 2016 18:58:15 +0000 (15:58 -0300)
committerChristophe Romain <christophe.romain@process-one.net>
Mon, 2 May 2016 13:06:40 +0000 (15:06 +0200)
sql/mysql.sql

index b7a86d0e643bbf4730732f5e2e7df6d05453761c..5150fc45b090525699ab312deaca8505ee518eac 100644 (file)
@@ -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;