Skip migrations one at a time

This commit is contained in:
Alexandre Aubin 2018-12-06 18:27:18 +01:00
parent cd3ed6af6f
commit ccd9c1631e

View file

@ -940,6 +940,10 @@ def tools_migrations_migrate(target=None, skip=False, auto=False, accept_disclai
operation_logger.success()
# Skip migrations one at a time
if skip:
break
# special case where we want to go back from the start
if target == 0:
state["last_run_migration"] = None