mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40:55 +01:00
726041584f
Summary: Made it possible to link and unlink LDAP accounts with Phabricator accounts. Test Plan: I've tested this code locally and in production where I work. I've tried creating an account from scratch by logging in with LDAP and linking and unlinking an LDAP account with an existing account. I've tried to associate the same LDAP account with different Phabricator accounts and it failed as expected. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin, auduny, svemir Maniphest Tasks: T742 Differential Revision: https://secure.phabricator.com/D2722
9 lines
345 B
SQL
9 lines
345 B
SQL
CREATE TABLE {$NAMESPACE}_user.user_ldapinfo (
|
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
`userID` int(10) unsigned NOT NULL,
|
|
`ldapUsername` varchar(255) NOT NULL,
|
|
`dateCreated` int(10) unsigned NOT NULL,
|
|
`dateModified` int(10) unsigned NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY (`userID`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|