Skip to content
This repository was archived by the owner on Aug 17, 2022. It is now read-only.

Commit f498e9d

Browse files
committed
fixed issue #67 - add support for JSON type
1 parent 0c3b385 commit f498e9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/migrate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const reverseSequelizeColType = function(col, prefix = 'Sequelize.')
4444
case DataTypes.REAL.key:
4545
case DataTypes.DOUBLE.key:
4646
case DataTypes.DECIMAL.key:
47+
case DataTypes.JSON.key:
4748
case DataTypes.INTEGER.key: {
4849
let ret = attrName;
4950
if (options.length)

0 commit comments

Comments
 (0)