aboutsummaryrefslogtreecommitdiff
path: root/sql/init.sql
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-06-11 18:32:27 +0200
committerPatrick Spek <p.spek@tyil.nl>2020-06-11 18:32:27 +0200
commite78ba1aed0b302d02171e41d5278dfd13bacb34e (patch)
treef4ec532c9f70ea443099d244f0dccb97ce942c2a /sql/init.sql
parent1f80a131c3a050fc0db544789fee7f03c0f2026f (diff)
downloadIRC::Client::Plugin::Reminders-e78ba1aed0b302d02171e41d5278dfd13bacb34e.tar.gz
IRC::Client::Plugin::Reminders-e78ba1aed0b302d02171e41d5278dfd13bacb34e.tar.bz2
Add reminder functionalityHEADmaster
Diffstat (limited to 'sql/init.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')
+);