Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenlu committed Jan 24, 2024
1 parent fe2de9a commit 292a2da
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions atlas_provider_django/management/commands/atlas-provider-django.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down

0 comments on commit 292a2da

Please sign in to comment.