1
0
Fork 0
forked from gitea/nas

Merge commit 'ab85f59c30' into kb_migration

This commit is contained in:
KMY 2023-03-17 09:39:40 +09:00
commit c8a0050660
30 changed files with 321 additions and 63 deletions

View file

@ -18,6 +18,6 @@
class Backup < ApplicationRecord
belongs_to :user, inverse_of: :backups
has_attached_file :dump
validates_attachment_content_type :dump, content_type: /\Aapplication/
has_attached_file :dump, s3_permissions: 'private'
do_not_validate_attachment_file_type :dump
end