From e9799560e033c3de59a99946ad3811dff47c8819 Mon Sep 17 00:00:00 2001 From: Jokler Date: Mon, 14 May 2018 20:46:59 +0200 Subject: Remind: Add Mysql as a possible database The bot also responds with the id and time of a reminder after creation to allow the creator to delete them. Furthermore the InvalidCommand message was fixed and the unnecessary dotenv dependency was removed. --- migrations/2018-05-13-150818_create_events/up.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 migrations/2018-05-13-150818_create_events/up.sql (limited to 'migrations/2018-05-13-150818_create_events/up.sql') diff --git a/migrations/2018-05-13-150818_create_events/up.sql b/migrations/2018-05-13-150818_create_events/up.sql new file mode 100644 index 0000000..4e6f14e --- /dev/null +++ b/migrations/2018-05-13-150818_create_events/up.sql @@ -0,0 +1,8 @@ +CREATE TABLE events ( + id SERIAL PRIMARY KEY, + receiver VARCHAR(32) NOT NULL, + content TEXT NOT NULL, + author VARCHAR(32) NOT NULL, + time TIMESTAMP NOT NULL, + `repeat` BIGINT UNSIGNED NULL +) -- cgit v1.2.3-70-g09d2