added token to users model and generate token method to users controller

This commit is contained in:
relotnek
2014-03-11 20:28:15 -04:00
parent c559bd5602
commit e7c30151d4
3 changed files with 13 additions and 1 deletions
@@ -0,0 +1,5 @@
class AddAuthTokenToUsers < ActiveRecord::Migration
def change
add_column :users, :auth_token, :string
end
end