From d934b2ee1e45d6068a571bc33fb9484dcb942834 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sat, 7 May 2016 20:28:34 -0400 Subject: [PATCH] Now that autoadmin has an initial migration don't error out on existing tables. --- mayan/apps/common/management/commands/performupgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/common/management/commands/performupgrade.py b/mayan/apps/common/management/commands/performupgrade.py index 91713c3885..0060ace44a 100644 --- a/mayan/apps/common/management/commands/performupgrade.py +++ b/mayan/apps/common/management/commands/performupgrade.py @@ -9,7 +9,7 @@ class Command(management.BaseCommand): help = 'Performs the required steps after a version upgrade.' def handle(self, *args, **options): - management.call_command('migrate', interactive=False) + management.call_command('migrate', fake=True, interactive=False) management.call_command('purgeperiodictasks', interactive=False) perform_upgrade.send(sender=self) post_upgrade.send(sender=self)