class CreateUserCredentials

Public Instance Methods

change() click to toggle source
# File lib/trackington/db/migrate/20160207203302_create_user_credentials.rb, line 2
def change
  create_table :credentials do |t|
    t.string :password
    t.string :salt
    t.string :session_key

    t.belongs_to :user, index: true
  end
end