@@ -119,6 +119,9 @@ comment on column order_items.unit_price
119119
120120comment on column order_items .quantity
121121 is ' How many items of this product the customer purchased' ;
122+
123+ comment on column order_items .shipment_id
124+ is ' Where this product will be delivered' ;
122125
123126comment on table customer_order_products
124127 is ' A summary of who placed each order and what they bought' ;
@@ -202,4 +205,41 @@ comment on column product_orders.total_sales
202205 is ' The total value of orders placed' ;
203206
204207comment on column product_orders .order_count
205- is ' The total number of orders placed' ;
208+ is ' The total number of orders placed' ;
209+
210+ comment on table shipments
211+ is ' Details of where ordered goods will be delivered' ;
212+
213+ comment on column shipments .shipment_id
214+ is ' Auto-incrementing primary key' ;
215+
216+ comment on column shipments .store_id
217+ is ' Which location the goods will be transported from' ;
218+
219+ comment on column shipments .customer_id
220+ is ' Who this shipment is for' ;
221+
222+ comment on column shipments .delivery_address
223+ is ' Where the goods will be transported to' ;
224+
225+ comment on column shipments .shipment_status
226+ is ' The current status of the shipment. Valid values are:
227+ CREATED - the shipment is ready for order assignment
228+ SHIPPED - the goods have been dispatched
229+ IN-TRANSIT - the goods are en-route to their destination
230+ DELIVERED - the good have arrived at their destination' ;
231+
232+ comment on table inventory
233+ is ' Details of the quantity of stock available for products at each location' ;
234+
235+ comment on column inventory .inventory_id
236+ is ' Auto-incrementing primary key' ;
237+
238+ comment on column inventory .store_id
239+ is ' Which location the goods are located at' ;
240+
241+ comment on column inventory .product_id
242+ is ' Which item this stock is for' ;
243+
244+ comment on column inventory .product_inventory
245+ is ' The current quantity in stock' ;
0 commit comments