Destroy dependent RS auths when destroying a WebApp

This commit is contained in:
2024-02-08 13:01:19 +01:00
parent 84e915ece9
commit 411587456b

View File

@@ -1,7 +1,7 @@
class AppCatalog::WebApp < ApplicationRecord
store :metadata, coder: JSON
has_many :remote_storage_authorizations
has_many :remote_storage_authorizations, dependent: :destroy
has_one_attached :icon
has_one_attached :apple_touch_icon