Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F461496
20160131105935_add_temp_hosts_to_user.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:31 AM
Size
191 B
Mime Type
text/x-ruby
Expires
Tue, May 20, 1:31 AM (1 d, 5 h)
Engine
blob
Format
Raw Data
Handle
220307
Attached To
rARCHIVING archiving
20160131105935_add_temp_hosts_to_user.rb
View Options
class
AddTempHostsToUser
<
ActiveRecord
::
Migration
def
up
add_column
:users
,
:temp_hosts
,
:string
,
default
:
[].
to_json
end
def
down
remove_column
:users
,
:temp_hosts
end
end
Event Timeline
Log In to Comment