mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
In preparation for transitioning from the portal from soft-delete to hard-delete some updates to the foreign key constraints were required. Most of these updates are adding `ON DELETE CASCADE` constraints and relevant indexes. These new constraints should have no effect on the current portal code as soft-deletes are still being used. One other update in this PR is changing the FK constraint names on the clients table. The names were `devices_*` due to the table originally being called `devices`. This PR updates them to `clients_*`. Related: #8187