Destroy dependent RS auths when destroying a WebApp

This commit is contained in:
Râu Cao 2024-02-08 13:01:19 +01:00
parent 84e915ece9
commit 411587456b
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -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