From e199e03b53f49cbd0577c13b9691b31379c4f03a Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 3 May 2023 19:48:54 +0400 Subject: [PATCH] added -i param --- aerich/cli.py | 1 + 1 file changed, 1 insertion(+) 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.",