Add 'apps/arv-web/' from commit 'f9732ad8460d013c2f28363655d0d1b91894dca5'
[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