Sha256: 74000590d095fae7313159d39e780108531e5718ddff34fe4e7971b792142541

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

class CreateOauthUsers < ActiveRecord::Migration[5.1]
  def change
    create_table :oauth_users do |t|
      t.references :user
      t.string :provider
      t.string :type
      t.string :uid
      t.string :name
      t.string :avatar_url
      t.string :state
      t.string :code
      t.string :access_token, limit: 1024
      t.datetime :expires_at
      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_auth-1.0.5 db/migrate/20170614071849_create_oauth_users.rb
rails_auth-1.0.4 db/migrate/20170614071849_create_oauth_users.rb