Sha256: 4a626ac606615da93f9464a3c9480f4cdab39b140593728ba17ae0cfb7567504
Contents?: true
Size: 375 Bytes
Versions: 12
Compression:
Stored size: 375 Bytes
Contents
class AddOmniauthColumnsToUsers < ActiveRecord::Migration def up change_table(:users) do |t| t.string :uid t.string :provider t.string :g5_access_token t.index [:provider, :uid], unique: true end end def down change_table(:users) do |t| t.remove :uid t.remove :provider t.remove :g5_access_token end end end
Version data entries
12 entries across 12 versions & 1 rubygems