-
Notifications
You must be signed in to change notification settings - Fork 492
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
Support for last N migrations for the database #254
Comments
This was referenced Jun 22, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using the status command of goose it can take a long time to read and print out all of the years worth of migrations to the terminal. Often times when I run the status command all I care about is looking at the last 10 or so migrations to see if the database that I am currently pointed at has had the latest migrations applied.
I would love to see support added for a flag along the lines of
goose mysql "[DB_CONNECTION_STRING]" status -n 10
That would allow me to have goose retrieve the last 10 migrations and if they have been applied as status typically does.The text was updated successfully, but these errors were encountered: