From c71a04dfb01bfbef12e3637698f1703fc28b0a26 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Fri, 24 May 2013 18:12:20 -0400 Subject: [PATCH] Minor fix to migration cleanup target. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b2ea8e12cd..75e6a395a7 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ dbchange: migrate: syncdb # This command fixes migrations following the cleanup for the 1.2b1 release. - -(python manage.py migrate main 2>&1 | grep 0017_changes) && python manage.py migrate main --delete-ghost-migrations --fake 0001_v12b1_initial + -(python manage.py migrate main 2>&1 | grep 0017_changes) && (python manage.py migrate main --delete-ghost-migrations --fake 0001_v12b1_initial || python manage.py migrate main --fake) # run this to apply changes to the model python manage.py migrate --noinput