Change Identity to not destroy associated User on destroy (#25098)

local
Claire 12 months ago committed by GitHub
parent 100840c06e
commit dfa5889fc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/models/identity.rb

@ -13,7 +13,7 @@
#
class Identity < ApplicationRecord
belongs_to :user, dependent: :destroy
belongs_to :user
validates :uid, presence: true, uniqueness: { scope: :provider }
validates :provider, presence: true

Loading…
Cancel
Save