diff options
Diffstat (limited to 'dichroism/src/schema.rs')
-rw-r--r-- | dichroism/src/schema.rs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dichroism/src/schema.rs b/dichroism/src/schema.rs deleted file mode 100644 index 2d9e14a..0000000 --- a/dichroism/src/schema.rs +++ /dev/null @@ -1,29 +0,0 @@ -table! { - photo_sets (id) { - id -> Integer, - base -> Text, - fullsize -> Text, - thumbnail -> Text, - original -> Text, - } -} - -table! { - products (id) { - id -> Integer, - photo_set -> Integer, - cents -> Integer, - quantity -> Integer, - name -> Text, - description -> Text, - featured -> Integer, - category -> Text, - } -} - -joinable!(products -> photo_sets (photo_set)); - -allow_tables_to_appear_in_same_query!( - photo_sets, - products, -); |