Use mailing lists instead of aliases for stalwart
This commit is contained in:
parent
56b71230e9
commit
f09444d832
6 changed files with 78 additions and 52 deletions
7
migrations/20231008094925_lists.sql
Normal file
7
migrations/20231008094925_lists.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
CREATE TYPE mail_type AS ENUM ('primary', 'alias', 'list');
|
||||
|
||||
ALTER TABLE emails
|
||||
ADD COLUMN type mail_type DEFAULT 'primary';
|
||||
|
||||
ALTER TABLE emails
|
||||
ALTER COLUMN type DROP DEFAULT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue