fix: remove illegal reference and update test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon 2026-05-04 17:37:59 +02:00
parent e86415c7e6
commit 2e727aec9c
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
3 changed files with 32 additions and 9 deletions

View file

@ -43,11 +43,6 @@ defmodule Mv.Authorization.Role do
postgres do
table "roles"
repo Mv.Repo
references do
# Prevent deletion of roles that are assigned to users
reference :users, on_delete: :restrict
end
end
code_interface do