mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-22 00:56:37 +03:00
Added logging of migration process
This commit is contained in:
parent
b7972fb079
commit
2d84e5da04
|
@ -59,6 +59,7 @@ def migrate_app(app_label, db_alias, up_to=9999, database=None):
|
|||
unapplied_migrations = set(modules.keys()) - applied_migrations
|
||||
|
||||
for name in sorted(unapplied_migrations):
|
||||
logger.info('Applying ClickHouse migration %s for app %s in database %s' % (name, app_label, db_alias))
|
||||
migration = modules[name].Migration()
|
||||
migration.apply(db_alias, database=database)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user