From 74f044919ce70214669fd471bbb293e0dd0605a6 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Fri, 26 Jan 2024 23:21:33 +0100 Subject: [PATCH] chore(model): add azure primary key --- models/users.model | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/users.model b/models/users.model index b23fe85b2..fa4bdfce5 100644 --- a/models/users.model +++ b/models/users.model @@ -21,7 +21,9 @@ User json -- Each Uni2work user has a corresponding row in this table; create lastAuthentication UTCTime Maybe -- last login date created UTCTime default=now() lastLdapSynchronisation UTCTime Maybe + lastAzureSynchronisation UTCTime Maybe ldapPrimaryKey UserEduPersonPrincipalName Maybe + azurePrimaryKey UUID Maybe tokensIssuedAfter UTCTime Maybe -- do not accept bearer tokens issued before this time (accept all tokens if null) matrikelnummer UserMatriculation Maybe -- usually a number; AVS Personalnummer; nicht Fraport Personalnummer! firstName Text -- For export in tables, pre-split firstName from displayName @@ -53,6 +55,7 @@ User json -- Each Uni2work user has a corresponding row in this table; create 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 + UniqueAzurePrimaryKey azurePrimaryKey !force -- Column 'azurePrimaryKey' 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, ...)