aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/init.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/init.sql b/sql/init.sql
new file mode 100644
index 0000000..46d001b
--- /dev/null
+++ b/sql/init.sql
@@ -0,0 +1,8 @@
+CREATE TABLE reminders (
+ id SERIAL NOT NULL,
+ subject VARCHAR NOT NULL,
+ created_by VARCHAR NOT NULL,
+ created_in VARCHAR,
+ trigger_at TIMESTAMP NOT NULL,
+ created_at TIMESTAMP NOT NULL DEFAULT (NOW() AT TIME ZONE 'utc')
+);