Translation (WIP)
This commit is contained in:
parent
9b0fcec5e2
commit
e9873c1943
29 changed files with 586 additions and 285 deletions
|
|
@ -7,6 +7,7 @@ pub struct User {
|
|||
pub id: i64,
|
||||
pub name: String,
|
||||
pub email: String,
|
||||
pub lang: String,
|
||||
}
|
||||
|
||||
#[derive(FromRow)]
|
||||
|
|
@ -30,8 +31,9 @@ pub struct Recipe {
|
|||
|
||||
pub servings: Option<u32>,
|
||||
pub is_published: bool,
|
||||
// pub tags: Vec<String>,
|
||||
// pub groups: Vec<Group>,
|
||||
|
||||
#[sqlx(skip)]
|
||||
pub groups: Vec<Group>,
|
||||
}
|
||||
|
||||
#[derive(FromRow)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue