From 746c1c2b23bd94912155a633363cfe794db279fe Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 14 May 2023 09:38:45 +0200 Subject: [PATCH] start working on always_show task --- README.md | 3 --- migration.sql | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 1a9ba39..99a85ec 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,8 @@ - [] after an hour(?) of inactivity -> show large popup w/ "maybe old data (ignore) (reload page)" (ignore bc maybe use is actively doing something -> don't throw input away!) ## Backend -- [] Do deletion of trip automatically (amount_user = 0) is someone is already registered; simplify FAQ! -- [] Allow sign-outs only >2h before event - [] add `always_show` to `planned_trips` (e.g. for wanderfahrten) - [] `planned_events` -> ICS feed to be [integrated](https://icscalendar.com/shortcode-overview/) in homepage calendar -- [] Notification system (-> signal msgs?) e.g. if new event; somebody unregistered # Nice to have ## Frontend diff --git a/migration.sql b/migration.sql index 654a8b6..7fb8f45 100644 --- a/migration.sql +++ b/migration.sql @@ -34,6 +34,7 @@ CREATE TABLE IF NOT EXISTS "planned_event" ( "planned_amount_cox" INTEGER unsigned NOT NULL, "trip_details_id" INTEGER NOT NULL, "created_at" text NOT NULL DEFAULT CURRENT_TIMESTAMP, + "always_show" boolean NOT NULL default false, FOREIGN KEY(trip_details_id) REFERENCES trip_details(id) ON DELETE CASCADE );