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