Associate RS authorizations with web apps

This commit is contained in:
Râu Cao
2023-10-24 13:08:06 +02:00
parent 261a782963
commit fcea11f0e5
6 changed files with 36 additions and 11 deletions

View File

@@ -1,6 +1,8 @@
class AppCatalog::WebApp < ApplicationRecord
store :metadata, coder: JSON
has_many :remote_storage_authorizations
has_one_attached :icon do |attachable|
attachable.variant :medium, resize_to_limit: [128,128]
attachable.variant :large, resize_to_limit: [256,256]