Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F461777
20151122202041_add_retention_periods_to_hosts.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, 6:15 PM
Size
322 B
Mime Type
text/x-ruby
Expires
Tue, May 20, 6:15 PM (1 d, 5 h)
Engine
blob
Format
Raw Data
Handle
220436
Attached To
rARCHIVING archiving
20151122202041_add_retention_periods_to_hosts.rb
View Options
class
AddRetentionPeriodsToHosts
<
ActiveRecord
::
Migration
def
up
add_column
:hosts
,
:job_retention_period_type
,
:string
add_column
:hosts
,
:file_retention_period_type
,
:string
end
def
down
remove_column
:hosts
,
:job_retention_period_type
remove_column
:hosts
,
:file_retention_period_type
end
end
Event Timeline
Log In to Comment