building db support with diesel.rs
This commit is contained in:
9
cookbook/src/schema.rs
Normal file
9
cookbook/src/schema.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
table! {
|
||||
recipes (id) {
|
||||
id -> Integer,
|
||||
title -> Text,
|
||||
category -> Integer,
|
||||
ingredients -> Text,
|
||||
preparation -> Text,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user