Closed andymaster01 closed 8 years ago
Hi, I'm just starting with Sequelize, and looks like a great library!.
Using the sample project, just found out that the migrations API used is not correct, I guess is something still not migrated since the project start using umzug (I suppose)
file: 20141003120222-create-user.js
Current (wrong) API:
up: function(migration, DataTypes, done) { migration .createTable('Users', { username: DataTypes.STRING }) .complete(done) },
Expected (correct) API:
up: function(queryInterface, Sequelize) { queryInterface .createTable('Users', { username: Sequelize.STRING }); },
If needed, I can create the pull request with the changes.
Again, great work guys, kudos!!
Fixed in #29
Hi, I'm just starting with Sequelize, and looks like a great library!.
Using the sample project, just found out that the migrations API used is not correct, I guess is something still not migrated since the project start using umzug (I suppose)
file: 20141003120222-create-user.js
Current (wrong) API:
Expected (correct) API:
If needed, I can create the pull request with the changes.
Again, great work guys, kudos!!