Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F2564664
20151028171930_create_job_templates.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
Wed, Jun 10, 12:53 PM
Size
399 B
Mime Type
text/x-ruby
Expires
Fri, Jun 12, 12:53 PM (19 h, 14 m)
Engine
blob
Format
Raw Data
Handle
377138
Attached To
rARCHIVING archiving
20151028171930_create_job_templates.rb
View Options
class
CreateJobTemplates
<
ActiveRecord
::
Migration
def
connection
ActiveRecord
::
Base
.
establish_connection
(
Baas
::
settings
[
:local_db
]
)
.
connection
end
def
change
create_table
:job_templates
do
|
t
|
t
.
string
:name
,
null
:
false
t
.
integer
:job_type
,
limit
:
1
t
.
integer
:host_id
t
.
integer
:fileset_id
t
.
integer
:schedule_id
t
.
timestamps
end
end
end
Event Timeline
Log In to Comment