Add new field

This commit is contained in:
2023-08-08 11:11:29 +02:00
parent 0262889913
commit eacf3b0700
5 changed files with 7 additions and 0 deletions

View File

@ -75,6 +75,7 @@ pub async fn update(member: &mut Member) -> anyhow::Result<()> {
members::dsl::birth_year.eq(member.birth_year),
members::dsl::birth_month.eq(member.birth_month),
members::dsl::birth_day.eq(member.birth_day),
members::dsl::dead.eq(member.dead),
members::dsl::death_year.eq(member.death_year),
members::dsl::death_month.eq(member.death_month),
members::dsl::death_day.eq(member.death_day),