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

Commit 380429e

Browse files
authored
Merge pull request #37 from C45tr0/patch/json-datatype-generated-as-jsontype
fix: update DataTypes.JSON to be JSON, not JSONTYPE
2 parents 1e8500a + 80bf238 commit 380429e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/migrate.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ const reverseSequelizeColType = function(col, prefix = 'Sequelize.')
7272
return prefix + ret.join('.');
7373
}
7474

75-
case DataTypes.JSON.key:
76-
return prefix + 'JSONTYPE'
77-
7875
case DataTypes.ENUM.key:
7976
return prefix + "ENUM('" +options.values.join("', '")+"')";
8077

0 commit comments

Comments
 (0)