Skip to content

Commit

Permalink
add ? when ask rename
Browse files Browse the repository at this point in the history
  • Loading branch information
long2ice committed Sep 28, 2020
1 parent 823368a commit 9889d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aerich/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def diff_model(cls, old_model: Type[Model], new_model: Type[Model], upgrade=True
if old_field_dict == new_field_dict:
if upgrade:
is_rename = click.prompt(
f"Rename {diff_key} to {new_key}",
f"Rename {diff_key} to {new_key}?",
default=True,
type=bool,
show_choices=True,
Expand Down

0 comments on commit 9889d94

Please sign in to comment.