1
0
Fork 0
This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/db/migrate/20181204030414_create_user_...

17 lines
404 B
Ruby

# frozen_string_literal: true
class CreateUserOmniauths < ActiveRecord::Migration[5.2]
def change
create_table :user_omniauths do |t|
t.timestamps null: false
t.references :user, foreign_key: true
t.string :provider, null: false
t.string :remote_id, null: false
t.string :email, null: false
t.index %i[remote_id provider], unique: true
end
end
end