mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 20:56:08 +10:00
5 lines
134 B
Ruby
5 lines
134 B
Ruby
class Identity < ActiveRecord::Base
|
|
belongs_to :user
|
|
|
|
validates :extern_uid, allow_blank: true, uniqueness: {scope: :provider}
|
|
end |