Adds write script for recipes, adds ingredients migrations

This commit is contained in:
2019-01-28 15:23:39 +01:00
parent fb4d24ef44
commit 202d7c5976
8 changed files with 134 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
table! {
ingredients (id) {
id -> Integer,
alias -> Text,
}
}
table! {
recipes (id) {
id -> Integer,
@@ -7,3 +14,8 @@ table! {
preparation -> Text,
}
}
allow_tables_to_appear_in_same_query!(
ingredients,
recipes,
);