Skip to content

Commit

Permalink
fixed issue flexxnn#67 - add support for JSON type
Browse files Browse the repository at this point in the history
  • Loading branch information
matmar10 committed Sep 15, 2019
1 parent 0c3b385 commit f498e9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const reverseSequelizeColType = function(col, prefix = 'Sequelize.')
case DataTypes.REAL.key:
case DataTypes.DOUBLE.key:
case DataTypes.DECIMAL.key:
case DataTypes.JSON.key:
case DataTypes.INTEGER.key: {
let ret = attrName;
if (options.length)
Expand Down

0 comments on commit f498e9d

Please sign in to comment.