Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1300407
20151207194729_create_jobs.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, Nov 19, 1:46 PM
Size
335 B
Mime Type
text/x-ruby
Expires
Fri, Nov 21, 1:46 PM (8 h, 13 m)
Engine
blob
Format
Raw Data
Handle
292774
Attached To
rWEBDNS WebDNS (edet4)
20151207194729_create_jobs.rb
View Options
class
CreateJobs
<
ActiveRecord
::
Migration
def
change
create_table
:jobs
do
|
t
|
t
.
string
:job_type
,
null
:
false
t
.
references
:domain
,
index
:
true
t
.
string
:args
,
null
:
false
t
.
integer
:status
,
default
:
0
,
null
:
false
t
.
integer
:retries
,
default
:
0
,
null
:
false
t
.
timestamps
end
end
end
Event Timeline
Log In to Comment