Basic minimal prototype

Use a postgres database as storage and start with sone basic
functionality.
This commit is contained in:
finga 2023-01-23 23:36:03 +01:00
commit 665015c296
14 changed files with 1082 additions and 0 deletions

View file

@ -0,0 +1 @@
DROP TABLE reminders;

View file

@ -0,0 +1,9 @@
CREATE TABLE reminders (
id SERIAL NOT NULL PRIMARY KEY,
created TIMESTAMPTZ NOT NULL DEFAULT now(),
planned TIMESTAMPTZ NOT NULL,
executed TIMESTAMPTZ,
title TEXT NOT NULL,
message TEXT NOT NULL,
receiver TEXT NOT NULL
);