Skip to content

Commit e54055f

Browse files
committed
use run_syncdb in reset
1 parent 30c2860 commit e54055f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

django_test_migrations/migrator.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ def reset(self) -> None:
7373
https://github.com/wemake-services/django-test-migrations/issues/128
7474
7575
"""
76-
call_command('migrate', verbosity=0, database=self._database)
76+
call_command(
77+
'migrate', verbosity=0, database=self._database, run_syncdb=True
78+
)
7779

7880
def _migrate(
7981
self,

0 commit comments

Comments
 (0)