25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Use MEDIUMTEXT type for muc_room.opts in MySQL schema

This commit is contained in:
Juan Pablo Carlino 2016-03-29 15:58:15 -03:00 committed by Christophe Romain
parent 07196b6c62
commit 671bc4e573

View File

@ -275,7 +275,7 @@ CREATE UNIQUE INDEX i_pubsub_subscription_opt ON pubsub_subscription_opt(subid(3
CREATE TABLE muc_room ( CREATE TABLE muc_room (
name text NOT NULL, name text NOT NULL,
host text NOT NULL, host text NOT NULL,
opts text NOT NULL, opts mediumtext NOT NULL,
created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; ) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;