create db tables for logbook

This commit is contained in:
2023-07-22 13:10:13 +02:00
parent d712859566
commit 6e61cce1ec
3 changed files with 78 additions and 29 deletions

View File

@ -6,47 +6,29 @@
### 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<arrival> (Datetime) // None -> on water
- destination
- Option<km> (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_logbook
- guest_trip_id
- session_id
- logbook_id
### Bootsreservierungen
- Confirmation required?
- How long in advance is it possible?
- Default reservations for some regular events (A+F, USI, ...)?
### Notifications
- notifcations
- id
- message
- category
- created_at
- read_at: Option<Datetime>
- user_id
## Backlog (i.e. don't work on this now)
### Sync w/ nextcloud
- remove most fields (names, ...) from users and add uid