aboutsummaryrefslogtreecommitdiff
path: root/sql/mysql.sql
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2018-04-24 14:44:52 +0200
committerChristophe Romain <christophe.romain@process-one.net>2018-04-24 14:44:52 +0200
commit61dee97738f6f6459a9b5cb26ae29c3e27db7dd9 (patch)
treee377e4d3495362949831809efdf7e76f806b8d84 /sql/mysql.sql
parentGet rid of useless memory/disk usage warnings (diff)
Pubsub creation/modification use varchar (#2397)
Diffstat (limited to 'sql/mysql.sql')
-rw-r--r--sql/mysql.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/mysql.sql b/sql/mysql.sql
index aea9e454e..1d7e4c4e7 100644
--- a/sql/mysql.sql
+++ b/sql/mysql.sql
@@ -251,8 +251,8 @@ CREATE TABLE pubsub_item (
nodeid bigint,
itemid text NOT NULL,
publisher text NOT NULL,
- creation text NOT NULL,
- modification text NOT NULL,
+ creation varchar(32) NOT NULL,
+ modification varchar(32) NOT NULL,
payload text NOT NULL
) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE INDEX i_pubsub_item_itemid ON pubsub_item(itemid(36));