Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F461551
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
Sun, May 18, 1:49 AM
Size
507 B
Mime Type
text/x-c++
Expires
Tue, May 20, 1:49 AM (1 d, 4 h)
Engine
blob
Format
Raw Data
Handle
220179
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