From 6f49d8632e6ceccb0399764e7da86cc4cba9ab04 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 16 Dec 2022 20:29:28 +0100 Subject: spm: list/get/patch mailbox mappings --- overlays/spm/server/Spm/Server/Database.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'overlays/spm/server/Spm/Server') 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| extension MailExtension Maybe domain MailDomain mailbox MailboxId + reject Bool + UniqueDomain domain sql=domain_unique !force UniqueLocalDomain local domain sql=local_domain_unique !force + UniqueLocalExtensionDomain local extension domain sql=local_extension_domain_unique !force |] -- cgit v1.2.3