Skip to content

Commit

Permalink
Remove unimplemented/unneeded migration option.
Browse files Browse the repository at this point in the history
  • Loading branch information
liffiton committed Jun 26, 2024
1 parent f698a2c commit b874321
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/gened/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,10 @@ def migrate_command() -> None:
click.echo()
click.echo(f"Key: {status_new} = new {status_success} = applied successfully {status_skipped} = skipped {status_failed} = failed to apply")
click.echo()
choice = input(f"[1-{len(migrations)}] Select individual migration [A]pply all new or failed migrations [M]ark all as successfully applied [Q]uit Choice? ")
choice = input("[A]pply all new or failed migrations [M]ark all as successfully applied [Q]uit Choice? ")
click.echo()

if choice.isnumeric() and 1 <= int(choice) <= len(migrations):
click.echo("Individual selection not yet implemented.")
elif choice.lower() == 'm':
if choice.lower() == 'm':
sure = input("Are you sure? This should pretty much never be used... [yN] ")
if sure.lower() == 'y':
_mark_all_as_applied()
Expand Down

0 comments on commit b874321

Please sign in to comment.