mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-10 00:44:03 +08:00
5 lines
118 B
Ruby
5 lines
118 B
Ruby
|
class UserIdentity < ActiveRecord::Base
|
||
|
belongs_to :user
|
||
|
validates :provider, uniqueness: { scope: :user_id }
|
||
|
end
|