Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F906951
20151102194922_add_host_id_to_schedules.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
Sat, Aug 30, 11:57 AM
Size
264 B
Mime Type
text/x-ruby
Expires
Mon, Sep 1, 11:57 AM (19 h, 43 m)
Engine
blob
Format
Raw Data
Handle
253729
Attached To
rARCHIVING archiving
20151102194922_add_host_id_to_schedules.rb
View Options
class
AddHostIdToSchedules
<
ActiveRecord
::
Migration
def
connection
ActiveRecord
::
Base
.
establish_connection
(
Baas
::
settings
[
:local_db
]
)
.
connection
end
def
change
add_column
:schedules
,
:host_id
,
:integer
add_index
:schedules
,
:host_id
end
end
Event Timeline
Log In to Comment