class CreateAuthTokens

Auth Token 모델생성 migration 파일

Columns

Public Instance Methods

change() click to toggle source
# File lib/generators/remotty/rails/templates/create_auth_tokens.rb, line 18
def change
  create_table :auth_tokens do |t|
    t.references :user, index: true
    t.string     :token
    t.string     :source
    t.string     :source_info

    t.timestamps
  end
end