Change identification of users with extern auth provider (LDAP)
This commit is contained in:
parent
8b7e404b5b
commit
fa5a53f5ed
4 changed files with 26 additions and 9 deletions
|
@ -0,0 +1,8 @@
|
|||
class AddExternAuthProviderToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :extern_uid, :string
|
||||
add_column :users, :provider, :string
|
||||
|
||||
add_index :users, [:extern_uid, :provider], :unique => true
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue