From 007d7f9bf1f77fa38497db83cd50ab0aa0ecbcf4 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Thu, 15 Feb 2018 14:36:24 -0200 Subject: [PATCH] =?UTF-8?q?Retirado=20c=C3=B3digo=20desnecess=C3=A1rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit O problema que esse trecho contornava foi resolvido em #1555, dbfdd4d --- sapl/legacy/scripts/migra_um_db.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/sapl/legacy/scripts/migra_um_db.sh b/sapl/legacy/scripts/migra_um_db.sh index 85e171792..3d41624d3 100755 --- a/sapl/legacy/scripts/migra_um_db.sh +++ b/sapl/legacy/scripts/migra_um_db.sh @@ -35,9 +35,6 @@ if [ $# -ge 2 ]; then DATABASE_NAME=$1 ./manage.py migrate --settings sapl.legacy_migration_settings echo >> $LOG - # XXX Na primeira execução desse comando aparece o erro de "Coammands out of sync" - # A solução mais rápida foi executar duas vezes seguidas pra poder migrar. - DATABASE_NAME=$1 ./manage.py migracao_25_31 -f --settings sapl.legacy_migration_settings 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