summaryrefslogtreecommitdiff
path: root/dichroism/src/schema.rs
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-11-11 20:07:12 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-11-11 20:07:12 -0500
commit7381a7033231e6454a37fd64b1f3de4e8d59355f (patch)
tree7ae54976c2d036e0fe7cb199a7f6facdd09bbb6d /dichroism/src/schema.rs
parentc5280144de096c274f185fade287ccd63b954ceb (diff)
downloadtheglassyladies-7381a7033231e6454a37fd64b1f3de4e8d59355f.tar.xz
theglassyladies-7381a7033231e6454a37fd64b1f3de4e8d59355f.zip
Kind of flailing with the UI; lots of API bugfixes though.
Diffstat (limited to 'dichroism/src/schema.rs')
-rw-r--r--dichroism/src/schema.rs11
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,
);