update migrate output for consistency

This commit is contained in:
Merlin 2024-08-07 13:32:49 -04:00 committed by GitHub
parent dbf96a17d3
commit ee144d4a9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ async def migrate(ctx: Context, name, empty) -> None:
ret = await command.migrate(name, empty) ret = await command.migrate(name, empty)
if not ret: if not ret:
return click.secho("No changes detected", fg=Color.yellow) return click.secho("No changes detected", fg=Color.yellow)
click.secho(f"Successfully created migration file {ret}", fg=Color.green) click.secho(f"Success creating migration file {ret}", fg=Color.green)
@cli.command(help="Upgrade to specified migration version.") @cli.command(help="Upgrade to specified migration version.")