8784: Fix test for latest firefox.
[arvados.git] / services / api / db / migrate / 20130109175700_create_pipelines.rb
1 class CreatePipelines < ActiveRecord::Migration
2   def up
3     create_table :pipelines 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 :name
12       t.text :components
13
14       t.timestamps
15     end
16     add_index :pipelines, :uuid, :unique => true
17   end
18   def down
19     drop_table :pipelines
20   end
21 end