summaryrefslogtreecommitdiff
path: root/overlays/spm/server/Spm/Server
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-12-16 20:29:28 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-12-16 20:29:28 +0100
commit6f49d8632e6ceccb0399764e7da86cc4cba9ab04 (patch)
tree39a1e15181139cc9b9cdbacdc6362c743be4753d /overlays/spm/server/Spm/Server
parentbbb5a2502ad108186c9257c5fa420a4965059043 (diff)
downloadnixos-6f49d8632e6ceccb0399764e7da86cc4cba9ab04.tar
nixos-6f49d8632e6ceccb0399764e7da86cc4cba9ab04.tar.gz
nixos-6f49d8632e6ceccb0399764e7da86cc4cba9ab04.tar.bz2
nixos-6f49d8632e6ceccb0399764e7da86cc4cba9ab04.tar.xz
nixos-6f49d8632e6ceccb0399764e7da86cc4cba9ab04.zip
spm: list/get/patch mailbox mappings
Diffstat (limited to 'overlays/spm/server/Spm/Server')
-rw-r--r--overlays/spm/server/Spm/Server/Database.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/overlays/spm/server/Spm/Server/Database.hs b/overlays/spm/server/Spm/Server/Database.hs
index cc133e06..3156e920 100644
--- a/overlays/spm/server/Spm/Server/Database.hs
+++ b/overlays/spm/server/Spm/Server/Database.hs
@@ -69,5 +69,8 @@ share [mkPersist sqlSettings] [persistLowerCase|
69 extension MailExtension Maybe 69 extension MailExtension Maybe
70 domain MailDomain 70 domain MailDomain
71 mailbox MailboxId 71 mailbox MailboxId
72 reject Bool
73 UniqueDomain domain sql=domain_unique !force
72 UniqueLocalDomain local domain sql=local_domain_unique !force 74 UniqueLocalDomain local domain sql=local_domain_unique !force
75 UniqueLocalExtensionDomain local extension domain sql=local_extension_domain_unique !force
73|] 76|]