X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fdbd7d958bd1c463e3d40adfdb6a8ddd241c308a..43773cb247a1fb744b57070b715bfa5d53a00822:/services/api/db/migrate/20130203104824_create_job_steps.rb diff --git a/services/api/db/migrate/20130203104824_create_job_steps.rb b/services/api/db/migrate/20130203104824_create_job_steps.rb new file mode 100644 index 0000000000..0636881bfb --- /dev/null +++ b/services/api/db/migrate/20130203104824_create_job_steps.rb @@ -0,0 +1,23 @@ +class CreateJobSteps < ActiveRecord::Migration + def change + create_table :job_steps do |t| + t.string :uuid + t.string :owner + t.string :modified_by_client + t.string :modified_by_user + t.datetime :modified_at + t.string :job_uuid + t.integer :sequence + t.text :parameters + t.text :output + t.float :progress + t.boolean :success + + t.timestamps + end + add_index :job_steps, :uuid, :unique => true + add_index :job_steps, :job_uuid + add_index :job_steps, :sequence + add_index :job_steps, :success + end +end