Use JSONB not JSON column type

This commit is contained in:
James Allen 2016-08-11 10:18:58 +01:00
parent 64d0b8bc7c
commit 0270d34d0f

View file

@ -21,7 +21,7 @@ else
Event = sequelize.define("Event", {
user_id: Sequelize.STRING,
event: Sequelize.STRING,
segmentation: Sequelize.JSON
segmentation: Sequelize.JSONB
})
module.exports =