blob: 965dc39d19fe819859f31430a09b9d2b192c47b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
module Projects
module ImportExport
class RelationExportUpload < ApplicationRecord
include WithUploads
include ObjectStorage::BackgroundMove
self.table_name = 'project_relation_export_uploads'
belongs_to :relation_export,
class_name: 'Projects::ImportExport::RelationExport',
foreign_key: :project_relation_export_id,
inverse_of: :upload
mount_uploader :export_file, ImportExportUploader
end
end
end
|