Merge remote-tracking branch 'origin/main' into bugfix/480-fix-minor-bugs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
3cc35d0293
5 changed files with 56 additions and 32 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