mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-04 02:31:33 +00:00
Add migration for omniauth attributes
This commit is contained in:
committed by
Maikel Linke
parent
3a5f263fb5
commit
b36fae1bbb
6
db/migrate/20210713165335_add_omniauth_to_users.rb
Normal file
6
db/migrate/20210713165335_add_omniauth_to_users.rb
Normal 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
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user