From 202964bfa4423863ac3f7a182a767df800b48464 Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 3 Apr 2023 22:30:39 +0200 Subject: [PATCH] simplify db model (no open_registration as you can simply set trip_details.max_people=0), use proper table name --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3363cd8..0baa02a 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ - users - id: i32 - name: String - - pw: Option + - pw: String - is_cox: bool (false) - is_admin: bool (false) - is_guest: bool (true) @@ -29,13 +29,12 @@ - name: String (e.g. "USI") - planned_amount_cox: i32 - trip_details_id: i32 (trip_details.id) - - open_registration: bool - allow_guests: bool (false) - trip - id: i32 - cox_id: i32 (user.id) - trip_details: Option (trip_details.id) - - planned_trip_id: Option (planned_trip.id) + - planned_event_id: Option (planned_event.id) - created: chrono::DateTime - trip_details - id: i32