-- This applies only for us orders that have legal_entity = photowall_inc -- In other cases, the value is null which means -> not applicable ALTER TABLE orders ADD COLUMN inter_company_price numeric NULL DEFAULT NULL; ALTER TABLE orders ADD COLUMN inter_company_price_reason JSONB NULL DEFAULT NULL;