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

17 lines
404 B
Ruby
Raw Normal View History

2018-12-03 22:08:33 -05:00
# 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