mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Create a separate migration for each field
This commit is contained in:
@@ -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
|
||||
)
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user