diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2018-04-24 14:44:52 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2018-04-24 14:44:52 +0200 |
commit | 61dee97738f6f6459a9b5cb26ae29c3e27db7dd9 (patch) | |
tree | e377e4d3495362949831809efdf7e76f806b8d84 /sql/pg.new.sql | |
parent | Get rid of useless memory/disk usage warnings (diff) |
Pubsub creation/modification use varchar (#2397)
Diffstat (limited to 'sql/pg.new.sql')
-rw-r--r-- | sql/pg.new.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/pg.new.sql b/sql/pg.new.sql index 66d93423..82fafa64 100644 --- a/sql/pg.new.sql +++ b/sql/pg.new.sql @@ -428,8 +428,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); |