--liquibase formatted sql

-- Add column relationshipId to delivery_order_pick_order
--changeset Enson:20260609-01
ALTER TABLE delivery_order_pick_order 
ADD COLUMN relationshipId  INT NULL;
UPDATE delivery_order_pick_order SET relationshipId = id WHERE relationshipId IS NULL OR relationshipId = 0;
