chore(ldap): ensure that ldap primary keys are unique

This commit is contained in:
Steffen Jost 2023-06-16 15:04:33 +00:00
parent 16f34258ba
commit a5ee70c370

View File

@ -52,6 +52,7 @@ User json -- Each Uni2work user has a corresponding row in this table; create
examOfficeGetLabels Bool default=true -- whether labels should be displayed for exam results by default
UniqueAuthentication ident -- Column 'ident' can be used as a row-key in this table
UniqueEmail email -- Column 'email' can be used as a row-key in this table
UniqueLdapPrimaryKey ldapPrimaryKey !force -- Column 'ldapPrimaryKey' is either empty or contains a unique value
deriving Show Eq Ord Generic -- Haskell-specific settings for runtime-value representing a row in memory
UserFunction -- Administratively assigned functions (lecturer, admin, evaluation, ...)