Skip to content

Commit

Permalink
use run_syncdb in reset
Browse files Browse the repository at this point in the history
  • Loading branch information
xi committed Jan 17, 2022
1 parent 30c2860 commit e54055f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion django_test_migrations/migrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ def reset(self) -> None:
https://github.com/wemake-services/django-test-migrations/issues/128
"""
call_command('migrate', verbosity=0, database=self._database)
call_command(
'migrate', verbosity=0, database=self._database, run_syncdb=True
)

def _migrate(
self,
Expand Down

0 comments on commit e54055f

Please sign in to comment.