From 101184e746e749aebf27ffc88015f696b1394049 Mon Sep 17 00:00:00 2001 From: Luciano Almeida Date: Mon, 11 Sep 2017 10:46:23 -0300 Subject: [PATCH] =?UTF-8?q?Retira=20resqu=C3=ADcios=20de=20recria=C3=A7?= =?UTF-8?q?=C3=A3o=20de=20constraints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Luciano Almeida --- sapl/legacy/management/commands/recria_constraints.py | 4 +--- sapl/legacy/scripts/migra_um_db.sh | 6 ------ 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/sapl/legacy/management/commands/recria_constraints.py b/sapl/legacy/management/commands/recria_constraints.py index 9e999e5f6..d1d8d606d 100644 --- a/sapl/legacy/management/commands/recria_constraints.py +++ b/sapl/legacy/management/commands/recria_constraints.py @@ -1,7 +1,5 @@ from django.core.management.base import BaseCommand -from sapl.legacy.migration import recria_constraints - class Command(BaseCommand): @@ -9,4 +7,4 @@ class Command(BaseCommand): 'migração de dados') def handle(self, *args, **options): - recria_constraints() + pass diff --git a/sapl/legacy/scripts/migra_um_db.sh b/sapl/legacy/scripts/migra_um_db.sh index f55dfb53a..26240d8d4 100755 --- a/sapl/legacy/scripts/migra_um_db.sh +++ b/sapl/legacy/scripts/migra_um_db.sh @@ -23,9 +23,3 @@ echo "--- MIGRACAO DE DADOS ---" | tee -a $LOG echo >> $LOG DATABASE_NAME=$1 ./manage.py migracao_25_31 -f --settings sapl.legacy_migration_settings |& tee -a $LOG echo >> $LOG - - -echo "--- RECRIANDO CONSTRAINTS ---" | tee -a $LOG -echo >> $LOG -DATABASE_NAME=$1 ./manage.py recria_constraints --settings sapl.legacy_migration_settings |& tee -a $LOG -echo >> $LOG