diff options
Diffstat (limited to 'backend/src/schema.rs')
-rw-r--r-- | backend/src/schema.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/src/schema.rs b/backend/src/schema.rs index f08221a..1419bc0 100644 --- a/backend/src/schema.rs +++ b/backend/src/schema.rs | |||
@@ -2,6 +2,7 @@ table! { | |||
2 | cart_items (cart_id, product_id) { | 2 | cart_items (cart_id, product_id) { |
3 | cart_id -> Integer, | 3 | cart_id -> Integer, |
4 | product_id -> Integer, | 4 | product_id -> Integer, |
5 | quantity -> Nullable<Integer>, | ||
5 | } | 6 | } |
6 | } | 7 | } |
7 | 8 | ||
@@ -43,6 +44,7 @@ table! { | |||
43 | payment_type -> Varchar, | 44 | payment_type -> Varchar, |
44 | amount -> Float, | 45 | amount -> Float, |
45 | customer_id -> Nullable<Integer>, | 46 | customer_id -> Nullable<Integer>, |
47 | order_date -> Date, | ||
46 | } | 48 | } |
47 | } | 49 | } |
48 | 50 | ||