Add some fields to recipe view
This commit is contained in:
parent
54989f3212
commit
afd42ba1d0
6 changed files with 44 additions and 2 deletions
|
|
@ -32,6 +32,9 @@ pub struct Recipe {
|
|||
pub servings: Option<u32>,
|
||||
pub is_published: bool,
|
||||
|
||||
#[sqlx(skip)]
|
||||
pub tags: Vec<String>,
|
||||
|
||||
#[sqlx(skip)]
|
||||
pub groups: Vec<Group>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue