-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Combining command options does not work #3348
Comments
This would appear to be a bug, yes. |
What does your directory look like? Maybe there is a combination of additions/removals that I am missing. |
@abonander so that I can provide the correct fix as a PR. Should the behavior be:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
Hey,
I'm trying to create a reversible sequential migration file. By reading the --help menu I thought that executing the the following command:
sqlx migrate add -rs post
would create two files, 0001_post.up.sql and 0001_post.down.sql.But it only creates one file, 0001_post.up.sql.
Using just the -r flag works but it does not create a sequential file.
I don't know if this is the expected behavior or a bug.
Thanks in advance!
Minimal Reproduction
Execute:
sqlx migrate add -rs post
Info
rustc --version
: rustc 1.76.0The text was updated successfully, but these errors were encountered: