Destroy dependent RS auths when destroying a WebApp
This commit is contained in:
parent
84e915ece9
commit
411587456b
@ -1,7 +1,7 @@
|
|||||||
class AppCatalog::WebApp < ApplicationRecord
|
class AppCatalog::WebApp < ApplicationRecord
|
||||||
store :metadata, coder: JSON
|
store :metadata, coder: JSON
|
||||||
|
|
||||||
has_many :remote_storage_authorizations
|
has_many :remote_storage_authorizations, dependent: :destroy
|
||||||
|
|
||||||
has_one_attached :icon
|
has_one_attached :icon
|
||||||
has_one_attached :apple_touch_icon
|
has_one_attached :apple_touch_icon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user