NAME | TYPE | DESCRIPTION |
---|---|---|
id | INTEGER | |
TEXT | ||
password | TEXT | |
username | TEXT | |
role | TEXT |
|
name | TEXT | |
surname | TEXT | |
approved | INTEGER | Indicate if the user it is approved or not by default 0 |
NAME | TYPE | DESCRIPTION |
---|---|---|
id | INTEGER | |
user_id | INTEGER | |
meta_key | TEXT | name of the meta Example: wallet |
meta_value | TEXT | value of the meta, Example wallet how much money in it |
NAME | TYPE | DESCRIPTION |
---|---|---|
id | INTEGER | |
user_id | INTEGER | id of the basket's user |
product_id | INTEGER |
NAME | TYPE | DESCRIPTION |
---|---|---|
id | INTEGER | |
timestamp | INTEGER | |
user_id | INTEGER | |
product_id | INTEGER | |
quantity | INTEGER | |
price | INTEGER | |
status | TEXT |
NAME | TYPE | DESCRIPTION |
---|---|---|
user_id | INTEGER | |
product_id | INTEGER | |
estimated_quantity | INTEGER |
NAME | TYPE | DESCRIPTION |
---|---|---|
order_id | INTEGER | |
product_id | INTEGER | |
quantity | INTEGER |
NAME | TYPE | DESCRIPTION |
---|---|---|
id | INTEGER | |
user_id | INTEGER | |
status | TEXT | |
price | INTEGER | |
pickup_time | INTEGER | |
pickup_place | INTEGER | |
order status: |
/ delivering \
booked -> confirmed (by the farmer) -> -> delivered
\ pending /
NAME | TYPE | DESCRIPTION |
---|---|---|
id | INTEGER | |
farmer_id | INTEGER | |
details_id | INTEGER | |
quantity | INTEGER | |
name | TEXT |
NAME | TYPE | DESCRIPTION |
---|---|---|
id | INTEGER | |
name | TEXT |