8784: Fix test for latest firefox.
[arvados.git] / services / api / db / migrate / 20130109220548_create_pipeline_invocations.rb
1 class CreatePipelineInvocations < ActiveRecord::Migration
2   def up
3     create_table :pipeline_invocations do |t|
4       t.string :uuid
5       t.string :created_by_client
6       t.string :created_by_user
7       t.datetime :created_at
8       t.string :modified_by_client
9       t.string :modified_by_user
10       t.datetime :modified_at
11       t.string :pipeline_uuid
12       t.string :name
13       t.text :components
14       t.boolean :success, :null => true
15       t.boolean :active, :default => false
16
17       t.timestamps
18     end
19     add_index :pipeline_invocations, :uuid, :unique => true
20   end
21   def down
22     drop_table :pipeline_invocations
23   end
24 end