Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F887723
20151026180147_create_fileset_table.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, Aug 10, 4:43 AM
Size
322 B
Mime Type
text/x-ruby
Expires
Tue, Aug 12, 4:43 AM (12 h, 5 m)
Engine
blob
Format
Raw Data
Handle
229227
Attached To
rARCHIVING archiving
20151026180147_create_fileset_table.rb
View Options
class
CreateFilesetTable
<
ActiveRecord
::
Migration
def
up
create_table
:filesets
do
|
t
|
t
.
string
:name
t
.
integer
:host_id
t
.
text
:exclude_directions
t
.
text
:include_directions
t
.
timestamps
end
add_index
:filesets
,
:host_id
end
def
down
drop_table
:filesets
end
end
Event Timeline
Log In to Comment