Skip to content

Commit

Permalink
Fix issue related to mimicking sequelize.import
Browse files Browse the repository at this point in the history
We need to return the object used to store the datatypes, otherwise sequelizeInstance.import is broken.
  • Loading branch information
robpre committed Nov 22, 2017
1 parent fe656c6 commit 286e644
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/data-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,4 +546,6 @@ module.exports = function (Sequelize) {
Sequelize.ARRAY = ARRAY;
Sequelize.GEOMETRY = GEOMETRY;
Sequelize.GEOGRAPHY = GEOGRAPHY;

return Sequelize;
};

0 comments on commit 286e644

Please sign in to comment.