Commit 368913dc by mingyuan

moved index

parent 6f0d7120
......@@ -14,10 +14,6 @@ module Dingtalk
attribute :refresh_token, :string
attribute :extra, :json, default: {}
attribute :identity, :string, index: true
index [:uid, :provider], unique: true
validates :provider, presence: true
validates :uid, presence: true
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment