Skip to content

Commit

Permalink
better check_migrations (#725)
Browse files Browse the repository at this point in the history
[#188391769]
  • Loading branch information
uraniumanchor authored Oct 7, 2024
1 parent 806c8f4 commit 6905bf4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions check_migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
django.setup()

from django.core import management
from django.core.management.commands import makemigrations, migrate

management.call_command(migrate.Command())
management.call_command(makemigrations.Command(), check=True, dry_run=True)
management.call_command('migrate')
management.call_command('makemigrations', 'tracker', check=True, dry_run=True)

0 comments on commit 6905bf4

Please sign in to comment.