fix: remove illegal reference and update test
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
e86415c7e6
commit
2e727aec9c
3 changed files with 32 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue