← All datasets

Доставка еды

Dataset schema

Ctrl + wheel to zoom
deliveries.restaurant_id → restaurants.id · Many-to-oneN1deliveries.customer_id → customers.id · Many-to-oneN1deliveries.courier_id → couriers.id · Many-to-oneN1couriersPKidintegernametextcitytexthired_atdatevehicletextcustomersPKidintegernametextcitytextdeliveriesPKidintegerorder_notextFKrestaurant_idintegerFKcustomer_idintegerFKcourier_idintegercreated_attimestamp without time zonepicked_attimestamp without time zonedelivered_attimestamp without time zonestatustextamountnumeric(10,2)tipnumeric(10,2)distance_kmnumeric(5,2)restaurantsPKidintegernametextcitytextcuisinetext

couriers

  • idintegerprimary key
  • nametext
  • citytext
  • hired_atdate
  • vehicletext

customers

  • idintegerprimary key
  • nametext
  • citytext

deliveries

  • idintegerprimary key
  • order_notext
  • restaurant_idinteger
  • customer_idinteger
  • courier_idinteger
  • created_attimestamp without time zone
  • picked_attimestamp without time zone
  • delivered_attimestamp without time zone
  • statustext
  • amountnumeric(10,2)
  • tipnumeric(10,2)
  • distance_kmnumeric(5,2)

restaurants

  • idintegerprimary key
  • nametext
  • citytext
  • cuisinetext