remindrs/migrations/2023-01-18-102900_create_reminder/up.sql
finga 665015c296 Basic minimal prototype
Use a postgres database as storage and start with sone basic
functionality.
2023-01-24 00:38:50 +01:00

10 lines
272 B
SQL

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
);