mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-18 14:01:04 +00:00
fix: default value pro citizenship
This commit is contained in:
parent
1fc69e7cee
commit
ae89d23585
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,4 @@
|
|||
//! SeaORM Entity. Generated by sea-orm-codegen 0.10.0
|
||||
|
||||
use chrono::{DateTime, NaiveDate, Local};
|
||||
use rocket::serde::{Deserialize, Serialize};
|
||||
use sea_orm::entity::prelude::*;
|
||||
|
|
@ -18,6 +17,7 @@ pub struct Model {
|
|||
pub birthdate: Option<NaiveDate>,
|
||||
pub address: Option<String>,
|
||||
pub telephone: Option<String>,
|
||||
#[sea_orm(default_value="Česká republika")]
|
||||
pub citizenship: Option<String>,
|
||||
pub email: Option<String>,
|
||||
pub sex: Option<String>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue