From 82214c435612e4b3999f6db9d0de199f19bc7300 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Fri, 14 Jun 2019 14:18:27 +0200 Subject: [PATCH] =?UTF-8?q?Atualiza=20op=C3=A7=C3=A3o=20primeira=5Fmigraca?= =?UTF-8?q?o=20no=20comando=20de=20migracao?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/legacy/management/commands/migracao_25_31.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sapl/legacy/management/commands/migracao_25_31.py b/sapl/legacy/management/commands/migracao_25_31.py index de758ef91..4d1cf0147 100644 --- a/sapl/legacy/management/commands/migracao_25_31.py +++ b/sapl/legacy/management/commands/migracao_25_31.py @@ -17,15 +17,15 @@ class Command(BaseCommand): ) parser.add_argument( - "--flush", + "--primeira_migracao", action="store_true", default=False, - dest="flush", + dest="primeira_migracao", help="Apagar banco antes de migrar", ) def handle(self, *args, **options): migrar( apagar_do_legado=options["apagar_do_legado"], - flush=options["flush"], + primeira_migracao=options["primeira_migracao"], )