8784: Fix test for latest firefox.
[arvados.git] / services / api / db / migrate / 20130203104824_create_job_steps.rb
1 class CreateJobSteps < ActiveRecord::Migration
2   def change
3     create_table :job_steps do |t|
4       t.string :uuid
5       t.string :owner
6       t.string :modified_by_client
7       t.string :modified_by_user
8       t.datetime :modified_at
9       t.string :job_uuid
10       t.integer :sequence
11       t.text :parameters
12       t.text :output
13       t.float :progress
14       t.boolean :success
15
16       t.timestamps
17     end
18     add_index :job_steps, :uuid, :unique => true
19     add_index :job_steps, :job_uuid
20     add_index :job_steps, :sequence
21     add_index :job_steps, :success
22   end
23 end