diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2018-04-24 15:44:52 +0300 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2018-04-24 15:44:52 +0300 |
commit | 61dee97738f6f6459a9b5cb26ae29c3e27db7dd9 (patch) | |
tree | e377e4d3495362949831809efdf7e76f806b8d84 /sql/pg.sql | |
parent | ad6fcc786541030c5ab1bca30eb5293132d07fa5 (diff) |
Pubsub creation/modification use varchar (#2397)
Diffstat (limited to 'sql/pg.sql')
-rw-r--r-- | sql/pg.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/pg.sql b/sql/pg.sql index 16456fe0f..4863cb721 100644 --- a/sql/pg.sql +++ b/sql/pg.sql @@ -254,8 +254,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 USING btree (itemid); |