Skip to content

Commit

Permalink
[cli] to downgrade-db set revision by default to -1
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBldy committed Sep 25, 2023
1 parent 49246e4 commit 301cac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zou/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def migrate_db(message):


@cli.command()
@click.option("--revision", default=None)
@click.option("--revision", default="-1")
def downgrade_db(revision):
"""
Downgrade db to previous revision of the database schema
Expand Down

0 comments on commit 301cac5

Please sign in to comment.