missed changes that add new flag to cli

This commit is contained in:
ar0ne 2023-12-27 12:56:46 +05:30
parent ede53ade86
commit 2b2e465362

View File

@ -79,6 +79,7 @@ async def cli(ctx: Context, config, app):
@cli.command(help="Generate migrate changes file.") @cli.command(help="Generate migrate changes file.")
@click.option("--name", default="update", show_default=True, help="Migrate name.") @click.option("--name", default="update", show_default=True, help="Migrate name.")
@click.option("--empty", default=False, is_flag=True, help="Generate empty migration file.")
@click.pass_context @click.pass_context
@coro @coro
async def migrate(ctx: Context, name): async def migrate(ctx: Context, name):