diff --git a/aerich/cli.py b/aerich/cli.py index 3dfa6ac..b637f4c 100644 --- a/aerich/cli.py +++ b/aerich/cli.py @@ -161,7 +161,7 @@ async def heads(ctx: Context): @cli.command(help="List all migrate items.") @click.pass_context -def history(ctx): +async def history(ctx): versions = Migrate.get_all_version_files() for version in versions: click.secho(version, fg=Color.green)