From 18d0b906dafc051cb1f573a1bed89a466f7f8e94 Mon Sep 17 00:00:00 2001 From: philipp Date: Fri, 21 Jul 2023 12:47:21 +0200 Subject: [PATCH] wokr on db model for logbook --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/README.md b/README.md index b7692a4..c488205 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,46 @@ ### Logbuch - Log with activities +#### Tables +- boats + - id + - name + - amount_seats +- session + - id + - ship_master (Schiffsführer) + - ship_master_only_steered (default: false) + - departure (Datetime) + - Option (Datetime) // None -> on water + - destination + - Option (prefilled from destination) + - comments + - type (normal, Wanderfahrt) +- rowers + - session_id + - user_id +- damages + - boat_id + - desc + - user_id_created + - created_at + - user_id_fixed + - fixed_at + - lock_boat (default: false), if true: noone can use this boat + ### Guest-Scheckbuch +- guest_trip + - guest_user_id + - amount_trips + - paid_to_user_id +- guest_trip_session + - guest_trip_id + - session_id + ### Bootsreservierungen +- Confirmation required? +- How long in advance is it possible? +- Default reservations for some regular events (A+F, USI, ...)? ## Backlog (i.e. don't work on this now) ### Sync w/ nextcloud