Skip to content
Snippets Groups Projects
Commit b550c8c4 authored by Nik | Klampfradler's avatar Nik | Klampfradler Committed by Hangzhi Yu
Browse files

Add explaining comment to migration

parent 08cea1c3
No related branches found
No related tags found
1 merge request!1141Resolve "Migrations fail when Chronos is installed & no migrations were ever run before"
Pipeline #108619 failed
......@@ -18,6 +18,9 @@ class Migration(migrations.Migration):
('core', '0046_notification_create_field_icon'),
]
# This migration must run after Chronos' migration 1 through 12, but before
# 13. That's because we are in fact moving a model, and we need to make sure
# that this migration runs at the right time.
if "chronos" in apps.app_configs:
recorder = migrations.recorder
applied = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment