diff options
Diffstat (limited to 'dichroism/src/schema.rs')
-rw-r--r-- | dichroism/src/schema.rs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/dichroism/src/schema.rs b/dichroism/src/schema.rs index 45501cf..2d9e14a 100644 --- a/dichroism/src/schema.rs +++ b/dichroism/src/schema.rs @@ -1,11 +1,4 @@ table! { - categories (id) { - id -> Integer, - path -> Text, - } -} - -table! { photo_sets (id) { id -> Integer, base -> Text, @@ -24,15 +17,13 @@ table! { name -> Text, description -> Text, featured -> Integer, - category -> Integer, + category -> Text, } } -joinable!(products -> categories (category)); joinable!(products -> photo_sets (photo_set)); allow_tables_to_appear_in_same_query!( - categories, photo_sets, products, ); |