Changes between Version 8 and Version 9 of ddlScript-with-help-of-AI.sql


Ignore:
Timestamp:
01/09/26 20:28:58 (11 days ago)
Author:
235018
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ddlScript-with-help-of-AI.sql

    v8 v9  
    154154    last_date_mod TIMESTAMP NOT NULL,
    155155    payment_method VARCHAR (250) NOT NULL,                  -- Format : "credit card, **** **** **** 6750" , or "cash", or "paypal, user@gmail.com",... Contains important information that are going to be needed when issuing a refund
    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'))
    158159);
    159160