Merge commit 'ab85f59c30
' into kb_migration
This commit is contained in:
commit
c8a0050660
30 changed files with 321 additions and 63 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue