added -i param
This commit is contained in:
parent
d79dc25ee8
commit
e199e03b53
@ -92,6 +92,7 @@ async def migrate(ctx: Context, name):
|
|||||||
@cli.command(help="Upgrade to specified version.")
|
@cli.command(help="Upgrade to specified version.")
|
||||||
@click.option(
|
@click.option(
|
||||||
"--in-transaction",
|
"--in-transaction",
|
||||||
|
"-i",
|
||||||
default=True,
|
default=True,
|
||||||
type=bool,
|
type=bool,
|
||||||
help="Make migrations in transaction or not. Can be helpful for large migrations or creating concurrent indexes.",
|
help="Make migrations in transaction or not. Can be helpful for large migrations or creating concurrent indexes.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user