1 class CreateTraits < ActiveRecord::Migration
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
14 add_index :traits, :uuid, :unique => true
15 add_index :traits, :name