-
-
Notifications
You must be signed in to change notification settings - Fork 540
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
sea-orm-cli migrate up can only apply 1 migration #1007
Comments
I think the #[clap(about = "Apply pending migrations")]
Up {
#[clap(
value_parser,
short,
long,
default_value = "1",
help = "Number of pending migrations to apply"
)]
num: u32,
},
#[clap(value_parser, about = "Rollback applied migrations")]
Down {
#[clap(
value_parser,
short,
long,
default_value = "1",
help = "Number of applied migrations to be rolled back"
)]
num: u32,
}, The documentation is wrong on this one. As it stands, I think there is no way to migrate all pending migrations using the cli. |
Hey @ringrid @ctfdavis, the intended behaviour is that As a temporary workaround: execute |
sea-orm-cli version: 0.9.2
sea-orm-cli migrate up
can only apply 1 pending migration, how does it apply all ?The text was updated successfully, but these errors were encountered: