Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F461505
base_file.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, May 18, 1:33 AM
Size
662 B
Mime Type
text/x-c++
Expires
Tue, May 20, 1:33 AM (1 d, 5 h)
Engine
blob
Format
Raw Data
Handle
220311
Attached To
rARCHIVING archiving
base_file.rb
View Options
# The BaseFiles table contains all the File references for a particular JobId that point
# to a Base file - i.e. they were previously saved and hence were not saved in the current
# JobId but in BaseJobId under FileId.
class
BaseFile
<
ActiveRecord
::
Base
self
.
table_name
=
:BaseFiles
self
.
primary_key
=
:BaseId
alias_attribute
:id
,
:BaseId
alias_attribute
:base_job_id
,
:BaseJobId
alias_attribute
:job_id
,
:JobId
alias_attribute
:file_id
,
:FileId
alias_attribute
:file_index
,
:FileIndex
belongs_to
:base_job
,
foreign_key
:
:BaseJobId
,
class_name
:
:Job
belongs_to
:job
,
foreign_key
:
:JobId
belongs_to
:bacula_file
,
foreign_key
:
:FileId
end
Event Timeline
Log In to Comment