From 72d9eaa6254b9ea3b88f8972f3a1d04d85671a7f Mon Sep 17 00:00:00 2001 From: Peter Eckel Date: Mon, 16 Oct 2023 16:40:32 +0200 Subject: [PATCH] Fixed migration 0025 to be consistent with the model --- netbox_dns/migrations/0025_ipam_coupling_cf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox_dns/migrations/0025_ipam_coupling_cf.py b/netbox_dns/migrations/0025_ipam_coupling_cf.py index d83816d9..a9436fa0 100644 --- a/netbox_dns/migrations/0025_ipam_coupling_cf.py +++ b/netbox_dns/migrations/0025_ipam_coupling_cf.py @@ -14,7 +14,7 @@ class Migration(migrations.Migration): field=models.ForeignKey( blank=True, null=True, - on_delete=django.db.models.deletion.PROTECT, + on_delete=django.db.models.deletion.CASCADE, related_name="netbox_dns_records", to="ipam.ipaddress", ),