From 2d84e5da0413f8645a6b4c8c410d60eb2d6b500e Mon Sep 17 00:00:00 2001 From: M1ha Date: Tue, 18 Dec 2018 14:47:56 +0500 Subject: [PATCH] Added logging of migration process --- src/django_clickhouse/migrations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/django_clickhouse/migrations.py b/src/django_clickhouse/migrations.py index 933a2d1..f1f507b 100644 --- a/src/django_clickhouse/migrations.py +++ b/src/django_clickhouse/migrations.py @@ -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)