Create a separate migration for each field

This commit is contained in:
Jeremy Stretch
2019-11-18 21:14:43 -05:00
parent acfb8ff767
commit af0f67a03e
4 changed files with 41 additions and 29 deletions

View File

@@ -18,6 +18,7 @@ def circuit_status_to_slug(apps, schema_editor):
class Migration(migrations.Migration):
atomic = False
dependencies = [
('circuits', '0015_custom_tag_models'),
@@ -31,5 +32,5 @@ class Migration(migrations.Migration):
),
migrations.RunPython(
code=circuit_status_to_slug
)
),
]