summaryrefslogtreecommitdiff
path: root/sql/lite.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/lite.sql
parentGet rid of useless memory/disk usage warnings (diff)
Pubsub creation/modification use varchar (#2397)
Diffstat (limited to 'sql/lite.sql')
-rw-r--r--sql/lite.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/lite.sql b/sql/lite.sql
index 2eecec78..eb6b2ab4 100644
--- a/sql/lite.sql
+++ b/sql/lite.sql
@@ -236,8 +236,8 @@ CREATE TABLE pubsub_item (
nodeid bigint REFERENCES pubsub_node(nodeid) ON DELETE CASCADE,
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 DEFAULT ''
);
CREATE INDEX i_pubsub_item_itemid ON pubsub_item (itemid);