From 816b826bf552eedf997ce89016281b33942ba28f Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Tue, 21 May 2019 10:59:07 +0200 Subject: [PATCH] Grava marco producao antes de migrar --- sapl/legacy/migracao.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sapl/legacy/migracao.py b/sapl/legacy/migracao.py index 69c09e4f9..72d16c42a 100644 --- a/sapl/legacy/migracao.py +++ b/sapl/legacy/migracao.py @@ -27,6 +27,7 @@ def migrar(flush=False, apagar_do_legado=False): "é necessário fazer a exportação de documentos do zope" ) management.call_command("migrate") + gravar_marco("producao", versiona=False, gera_backup=False) primeira_migracao, fks_orfas = migrar_dados(flush, apagar_do_legado) assert not fks_orfas, "Ainda existem FKs órfãs" migrar_usuarios(REPO.working_dir, primeira_migracao)