feat: lives-with field
Some checks failed
/ integration-test--firefox (push) Failing after 3m8s

This commit is contained in:
Robert Perce 2026-01-24 11:13:27 -06:00
parent a0afb6dfd3
commit fd5f1899c1
4 changed files with 53 additions and 17 deletions

View file

@ -11,6 +11,7 @@ pub struct Contact {
pub id: DbId,
pub birthday: Option<Birthday>,
pub manually_freshened_at: Option<DateTime<Utc>>,
pub lives_with: String,
}
#[derive(Clone, Debug)]
@ -55,10 +56,13 @@ impl FromRow<'_, SqliteRow> for Contact {
.map(|d| d.to_utc())
});
let lives_with: String = row.try_get("lives_with")?;
Ok(Self {
id,
birthday,
manually_freshened_at,
lives_with,
})
}
}