diff options
author | Brian Cully <bjc@kublai.com> | 2014-11-21 11:02:46 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2014-11-23 14:19:29 -0500 |
commit | cacbab512d4102e6db19c6487c4d291006dd0fda (patch) | |
tree | bc0e623db6b94384c9305529311148712786426c /config/create-tables.sql | |
download | spamcat-cacbab512d4102e6db19c6487c4d291006dd0fda.tar.gz spamcat-cacbab512d4102e6db19c6487c4d291006dd0fda.zip |
Initial commit.
Diffstat (limited to 'config/create-tables.sql')
-rw-r--r-- | config/create-tables.sql | 7 |
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 +); |