From db11178ccde04fa567ac44e34e3296fd0871541d Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 17 Mar 2020 13:25:37 +0100 Subject: [PATCH] Add db table for invite links Co-authored-by: [Mahgs] Co-authored-by: Christoph --- src/main/resources/schema.sql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/resources/schema.sql b/src/main/resources/schema.sql index 9a3fe1f..27cc591 100644 --- a/src/main/resources/schema.sql +++ b/src/main/resources/schema.sql @@ -10,3 +10,11 @@ CREATE TABLE event event_payload VARCHAR(255), visibility BOOLEAN ); + +DROP TABLE IF EXISTS invite; + +CREATE TABLE invite +( + group_id INT FOREIGN KEY REFERENCES event(group_id), + invite_link varchar(255) +)