8784: Fix test for latest firefox.
[arvados.git] / services / api / db / migrate / 20130627154537_create_traits.rb
1 class CreateTraits < ActiveRecord::Migration
2   def change
3     create_table :traits do |t|
4       t.string :uuid, :null => false
5       t.string :owner, :null => false
6       t.string :modified_by_client
7       t.string :modified_by_user
8       t.datetime :modified_at
9       t.string :name
10       t.text :properties
11
12       t.timestamps
13     end
14     add_index :traits, :uuid, :unique => true
15     add_index :traits, :name
16   end
17 end