add planned_trip functionality
This commit is contained in:
23
README.md
23
README.md
@ -17,31 +17,12 @@
|
||||
|
||||
# DB
|
||||
|
||||
- users
|
||||
- id: i32
|
||||
- name: String
|
||||
- pw: String
|
||||
- is_cox: bool (false)
|
||||
- is_admin: bool (false)
|
||||
- is_guest: bool (true)
|
||||
- planned_event
|
||||
- id: i32
|
||||
- name: String (e.g. "USI")
|
||||
- planned_amount_cox: i32
|
||||
- trip_details_id: i32 (trip_details.id)
|
||||
- allow_guests: bool (false)
|
||||
- trip
|
||||
- id: i32
|
||||
- cox_id: i32 (user.id)
|
||||
- trip_details: Option<i32> (trip_details.id)
|
||||
- planned_event_id: Option<i32> (planned_event.id)
|
||||
- created: chrono::DateTime
|
||||
- trip_details
|
||||
- id: i32
|
||||
- planned_starting_time: String
|
||||
- max_people: i32
|
||||
- day: chrono::NaiveDate
|
||||
- notes: String
|
||||
- user_trip
|
||||
- trip_details_id: i32 (trip_details.id)
|
||||
- user_id: i32 (user.id)
|
||||
@ -54,7 +35,7 @@
|
||||
- [x] User passwort zurücksetzen
|
||||
- [x] Cox + admin + guest setzen
|
||||
- [ ] Ausfahrten
|
||||
- [ ] CRUD planned_event
|
||||
- [ ] CRUD trip_details
|
||||
- [x] CRUD planned_event
|
||||
- [x] CRUD trip_details
|
||||
- [ ] CRUD trip
|
||||
- [ ] CRUD user_trip
|
||||
|
Reference in New Issue
Block a user