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

Command to show status of available vs applied migration files #28

Closed
matthewlenz opened this issue Jan 24, 2018 · 3 comments
Closed

Command to show status of available vs applied migration files #28

matthewlenz opened this issue Jan 24, 2018 · 3 comments

Comments

@matthewlenz
Copy link

$ ls -1
20170123192101_testing.sql
20180123192101_testing.sql

Maybe something like:

./dbmate -d . status

revisision, status
20170123192101_testing, APPLIED
20180123192101_testing.sql, UNAPPLIED

@amacneil
Copy link
Owner

I agree, this would be a helpful feature. I'll look at adding it to the next version (or PRs welcome 😄)

@hmleal
Copy link

hmleal commented Mar 10, 2018

Please check the pull request #32

@amacneil amacneil mentioned this issue Apr 2, 2018
@fourcube
Copy link

fourcube commented Oct 9, 2019

This would be very useful to me as well!

@hmleal are you still interested in finishing this? I'd be happy to work on this if you can't find the time.

@amacneil amacneil mentioned this issue Jan 2, 2020
@amacneil amacneil changed the title Command to compare current directory migration files with the database. Command to show status of available vs applied migration files Jan 2, 2020
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