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", ),