Subnet's Discovery Capsule can point to a deleted proxy
In foreman db, there is a missing key constraint from subnet.discovery_id to smart_proxies.id. That means, if a subnet refers a Discovery Capsule and I delete the capsule/proxy, no warning is raised.
Add a key constraint similar to e.g. "subnet.tftp_id -> smart_proxies.id".
#5 Updated by Amit Karsale about 2 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|514576e3d3570bc8a405a0eabc4df7a7a950a15f.