diff --git a/databaseReset.py b/databaseReset.py index 3f76f11..1d66706 100644 --- a/databaseReset.py +++ b/databaseReset.py @@ -95,10 +95,10 @@ def reinit_db(): print(" - Migrating: " + django.db.connections.databases['default']['NAME']) if django.db.connections.databases['default']['ENGINE'] == 'django.db.backends.sqlite3': - with transaction.atomic(): - management.call_command('makemigrations','core', interactive=False) - management.call_command('migrate', interactive=False) - management.call_command('migrate','core', interactive=False) + #with transaction.atomic(): + management.call_command('makemigrations','core', interactive=False) + management.call_command('migrate', interactive=False) + management.call_command('migrate','core', interactive=False) else: management.call_command('makemigrations','core', interactive=False) management.call_command('migrate', interactive=False)