diff --git a/aerich/cli.py b/aerich/cli.py index e09dabe..60fe949 100644 --- a/aerich/cli.py +++ b/aerich/cli.py @@ -92,6 +92,7 @@ async def migrate(ctx: Context, name): @cli.command(help="Upgrade to specified version.") @click.option( "--in-transaction", + "-i", default=True, type=bool, help="Make migrations in transaction or not. Can be helpful for large migrations or creating concurrent indexes.",