allow adding rowers to logbook

This commit is contained in:
2023-07-24 13:01:39 +02:00
parent c43feb1834
commit c42cd2cd9c
9 changed files with 273 additions and 65 deletions

View File

@ -20,12 +20,12 @@ use super::{tripdetails::TripDetails, Day};
pub struct User {
pub id: i64,
pub name: String,
pw: Option<String>,
pub pw: Option<String>,
pub is_cox: bool,
pub is_admin: bool,
pub is_guest: bool,
#[serde(default = "bool::default")]
deleted: bool,
pub deleted: bool,
pub last_access: Option<chrono::NaiveDateTime>,
}