mirror of
https://codeberg.org/selfsigned-ash/antifed
synced 2026-11-02 09:33:28 +01:00
➕ Adds mailer library
This commit is contained in:
4 files changed
+43
-4
No files matched your search
@@ -8,3 +8,18 @@ CREATE TABLE IF NOT EXISTS actions
|
||||
created_at TIMESTAMP NOT NULL DEFAULT now(),
|
||||
updated_at TIMESTAMP NOT NULL DEFAULT now()
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS timed_emails
|
||||
(
|
||||
id UUID PRIMARY KEY NOT NULL UNIQUE DEFAULT gen_random_uuid(),
|
||||
name TEXT NOT NULL,
|
||||
recipient TEXT NOT NULL,
|
||||
subject TEXT NOT NULL,
|
||||
body TEXT NOT NULL,
|
||||
interval INT NOT NULL,
|
||||
heartbeat TIMESTAMP NOT NULL,
|
||||
expires TIMESTAMP NOT NULL,
|
||||
fired BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
created_at TIMESTAMP NOT NULL DEFAULT now(),
|
||||
updated_at TIMESTAMP NOT NULL DEFAULT now()
|
||||
)
|
||||
Reference in new issue
Block a user