ffffng/server/db/patches/001_add-email-queue-table.sql

13 lines
367 B
MySQL
Raw Normal View History

2016-05-20 22:11:35 +02:00
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,
created_at DATETIME DEFAULT (strftime('%s','now')) NOT NULL,
modified_at DATETIME DEFAULT (strftime('%s','now')) NOT NULL
2016-05-20 22:11:35 +02:00
);