From 292a2da887e380025f4259b3e3a4164c57ea2beb Mon Sep 17 00:00:00 2001 From: Ronen Lubin Date: Wed, 24 Jan 2024 09:22:25 +0200 Subject: [PATCH] remove unused code --- .../management/commands/atlas-provider-django.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/atlas_provider_django/management/commands/atlas-provider-django.py b/atlas_provider_django/management/commands/atlas-provider-django.py index 7e48cf0..7e11456 100644 --- a/atlas_provider_django/management/commands/atlas-provider-django.py +++ b/atlas_provider_django/management/commands/atlas-provider-django.py @@ -176,19 +176,6 @@ def handle(self, *args, **options): current_dialect = options.get("dialect", Dialect.sqlite) print(self.get_ddl()) - def create_migrations(self): - try: - call_command( - "makemigrations", - "--no-input", - stdout=StringIO(), - stderr=StringIO() - ) - except Exception as e: - traceback.print_exc() - self.stderr.write(f"failed to create migrations, {e}") - exit(1) - # Load migrations and get the sql statements describing the migrations. def get_ddl(self): ddl = ""