Add migration for omniauth attributes

This commit is contained in:
Matt-Yorkley
2022-02-25 12:15:23 +00:00
committed by Maikel Linke
parent 3a5f263fb5
commit b36fae1bbb
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
class AddOmniauthToUsers < ActiveRecord::Migration[6.1]
def change
add_column :spree_users, :provider, :string
add_column :spree_users, :uid, :string
end
end

View File

@@ -1068,6 +1068,8 @@ ActiveRecord::Schema.define(version: 2022_09_07_055044) do
t.string "unconfirmed_email", limit: 255
t.datetime "disabled_at"
t.boolean "show_api_key_view", default: false, null: false
t.string "provider"
t.string "uid"
t.index ["confirmation_token"], name: "index_spree_users_on_confirmation_token", unique: true
t.index ["email"], name: "email_idx_unique", unique: true
t.index ["persistence_token"], name: "index_users_on_persistence_token"