Added sqlite db and email queue.
This commit is contained in:
parent
5a5c70cfb1
commit
03271573be
8 changed files with 169 additions and 12 deletions
server/db/patches
11
server/db/patches/001_add-email-queue-table.sql
Normal file
11
server/db/patches/001_add-email-queue-table.sql
Normal file
|
@ -0,0 +1,11 @@
|
|||
CREATE TABLE email_queue (
|
||||
id INTEGER PRIMARY KEY ASC AUTOINCREMENT,
|
||||
failures INTEGER NOT NULL,
|
||||
|
||||
sender VARCHAR(255) NOT NULL,
|
||||
recipient VARCHAR(255) NOT NULL,
|
||||
email VARCHAR(255) NOT NULL,
|
||||
data TEXT NOT NULL,
|
||||
|
||||
updated_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue