aboutsummaryrefslogtreecommitdiff
path: root/src/schema.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/schema.rs')
-rw-r--r--src/schema.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/schema.rs b/src/schema.rs
index 8ed6e58..b6074f2 100644
--- a/src/schema.rs
+++ b/src/schema.rs
@@ -7,3 +7,18 @@ table! {
7 email_id -> Varchar, 7 email_id -> Varchar,
8 } 8 }
9} 9}
10
11table! {
12 product (id) {
13 id -> Integer,
14 name -> Varchar,
15 kind -> Nullable<Varchar>,
16 price -> Float,
17 description -> Nullable<Varchar>,
18 }
19}
20
21allow_tables_to_appear_in_same_query!(
22 members,
23 product,
24);