ALTER TABLE orders
ADD COLUMN customer_passport_uid bigint;

CREATE INDEX orders_customer_passport_uid_not_null_idx
    ON orders
    USING btree (customer_passport_uid)
    WHERE customer_passport_uid IS NOT NULL;
