Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F401749
location.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
Thu, Feb 20, 9:25 AM
Size
507 B
Mime Type
text/x-c++
Expires
Sat, Feb 22, 9:25 AM (3 m, 32 s)
Engine
blob
Format
Raw Data
Handle
191751
Attached To
rARCHIVING archiving
location.rb
View Options
# Bacula Location table.
#
# The Location table defines where a Volume is physically.
class
Location
<
ActiveRecord
::
Base
establish_connection
BACULA_CONF
self
.
table_name
=
"
#{
connection_config
[
:database
]
}
.Location"
self
.
primary_key
=
:LocationId
alias_attribute
:location_id
,
:LocationId
alias_attribute
:location
,
:Location
alias_attribute
:cost
,
:Cost
alias_attribute
:enabled
,
:Enabled
has_many
:media
,
foreign_key
:
:LocationId
has_many
:location_logs
,
foreign_key
:
:LocationId
end
Event Timeline
Log In to Comment