diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/mysql.new.sql | 2 | ||||
-rw-r--r-- | sql/mysql.sql | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/mysql.new.sql b/sql/mysql.new.sql index 3c9e9ed58..0f564f08f 100644 --- a/sql/mysql.new.sql +++ b/sql/mysql.new.sql @@ -276,7 +276,7 @@ CREATE TABLE pubsub_item ( publisher text NOT NULL, creation varchar(32) NOT NULL, modification varchar(32) NOT NULL, - payload text NOT NULL + payload mediumtext NOT NULL ) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE INDEX i_pubsub_item_itemid ON pubsub_item(itemid(36)); CREATE UNIQUE INDEX i_pubsub_item_tuple ON pubsub_item(nodeid, itemid(36)); diff --git a/sql/mysql.sql b/sql/mysql.sql index f5c22953d..d731f89df 100644 --- a/sql/mysql.sql +++ b/sql/mysql.sql @@ -253,7 +253,7 @@ CREATE TABLE pubsub_item ( publisher text NOT NULL, creation varchar(32) NOT NULL, modification varchar(32) NOT NULL, - payload text NOT NULL + payload mediumtext NOT NULL ) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE INDEX i_pubsub_item_itemid ON pubsub_item(itemid(36)); CREATE UNIQUE INDEX i_pubsub_item_tuple ON pubsub_item(nodeid, itemid(36)); |