Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2018-04-24 15:44:52 +0300
committerChristophe Romain <christophe.romain@process-one.net>2018-04-24 15:44:52 +0300
commit61dee97738f6f6459a9b5cb26ae29c3e27db7dd9 (patch)
treee377e4d3495362949831809efdf7e76f806b8d84 /sql/pg.sql
parentad6fcc786541030c5ab1bca30eb5293132d07fa5 (diff)
Pubsub creation/modification use varchar (#2397)
Diffstat (limited to 'sql/pg.sql')
-rw-r--r--sql/pg.sql4
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);