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

Possible to check for pending migrations on startup? #165

Closed
djscruggs opened this issue Aug 11, 2015 · 3 comments
Closed

Possible to check for pending migrations on startup? #165

djscruggs opened this issue Aug 11, 2015 · 3 comments

Comments

@djscruggs
Copy link

This isn't really an issue per se but I didn't see another forum for it.

Is it possible to configure Sequelize to check for pending migrations on startup? We've had numerous cases where devs forget to run migrations and proceed to chase their tails trying to figure out why their code suddenly stopped working.

@sdepold
Copy link
Member

sdepold commented Sep 30, 2015

This is currently not possible but PRs are more than welcome.

@ShaharHD
Copy link
Contributor

Use umzug in your code https://github.com/sequelize/umzug
I'm actually using umzug and not sequelize-cli for the automatic migrations

@sushantdhiman
Copy link
Contributor

Fixed in #385

sequelize db:migrate:status

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

No branches or pull requests

4 participants