aboutsummaryrefslogtreecommitdiffstats
path: root/config/create-tables.sql
diff options
context:
space:
mode:
Diffstat (limited to 'config/create-tables.sql')
-rw-r--r--config/create-tables.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/create-tables.sql b/config/create-tables.sql
new file mode 100644
index 0000000..9f6d93a
--- /dev/null
+++ b/config/create-tables.sql
@@ -0,0 +1,7 @@
+DROP TABLE IF EXISTS emails;
+CREATE TABLE emails (
+ sender TEXT NOT NULL PRIMARY KEY,
+ count INTEGER DEFAULT 20,
+ created TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
+ modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP
+);