Add a column in family table to toggle genealogy feature

This commit is contained in:
2024-05-15 18:56:18 +02:00
parent c6b518d8de
commit 88e40fece6
4 changed files with 10 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ pub struct Family {
pub name: String,
pub invitation_code: String,
pub disable_couple_photos: bool,
pub enable_genealogy: bool,
}
impl Family {

View File

@@ -29,6 +29,7 @@ diesel::table! {
#[max_length = 7]
invitation_code -> Varchar,
disable_couple_photos -> Bool,
enable_genealogy -> Bool,
}
}