CREATE TABLE deliveries (
    id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
    date date NOT NULL,                          -- хранить как date, отдавать как DD-MM-YYYY
    pickup_location varchar(20) NOT NULL,        -- warehouse|symbat|nursaya|galaktika
    product_name text NOT NULL,
    address text NOT NULL,
    phone varchar(30) NOT NULL,
    additional_phone varchar(30),
    has_elevator boolean NOT NULL DEFAULT false,
    comment text,
    status varchar(20) NOT NULL DEFAULT 'new',  -- new|delivered
    created_at timestamptz DEFAULT now(),
    updated_at timestamptz DEFAULT now()
);