| 156 | | discount DECIMAL(5,2) DEFAULT 0.0 CHECK(discount>=0.0 AND discount<= 100.00) |
| 157 | | --CONSTRAINT check_status (status IN ('placed order', 'being processed', 'shipping', 'delivered', 'canceled')) |
| | 156 | discount DECIMAL(5,2) DEFAULT 0.0 CHECK(discount>=0.0 AND discount<= 100.00), |
| | 157 | delivery_address VARCHAR NOT NULL, -- Combined, street, city and postcode of client's chosen address. Default is the delivery address marked by client |
| | 158 | CONSTRAINT check_status (status IN ('placed order', 'being processed', 'shipping', 'delivered', 'canceled')) |