mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-22 00:56:37 +03:00
Fix
This commit is contained in:
parent
e8161ee7ce
commit
382655224b
|
@ -49,6 +49,7 @@ def migrate_app(app_label, db_alias, up_to=9999, database=None):
|
|||
:param database: Sometimes I want to pass db object directly for testing purposes
|
||||
:return: None
|
||||
"""
|
||||
database = database or connections[db_alias]
|
||||
migrations_package = "%s.%s" % (app_label, config.MIGRATIONS_PACKAGE)
|
||||
|
||||
if module_exists(migrations_package):
|
||||
|
|
Loading…
Reference in New Issue
Block a user