Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update migrations to match documentation #29

Merged
merged 2 commits into from Nov 13, 2015

Conversation

iblazevic
Copy link
Contributor

updating migrations to match documentation for issue #28

up: function(migration, DataTypes, done) {
migration
up: function(queryInterface, Sequelize) {
queryInterface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add a return otherwise the promise will not be handled properly.

@sdepold
Copy link
Member

sdepold commented Nov 13, 2015

🆒 Can you please add the returns in the migrations?

@iblazevic
Copy link
Contributor Author

Added. It did work for some reason (I mean migration was applied), even on one more place, good thing its fixed now to be sure its working properly.

Thanks!

@sdepold
Copy link
Member

sdepold commented Nov 13, 2015

👏

sdepold added a commit that referenced this pull request Nov 13, 2015
update migrations to match documentation
@sdepold sdepold merged commit 34343a8 into sequelize:master Nov 13, 2015
@sdepold
Copy link
Member

sdepold commented Nov 13, 2015

It ran correctly because it actually executes the migration, but it will not wait for it to be finished

@iblazevic iblazevic deleted the update_migrations branch November 13, 2015 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants