added token to users model and generate token method to users controller
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddAuthTokenToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :auth_token, :string
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user