Adds write script for recipes, adds ingredients migrations
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user