-- 020_worker_order_notes.sql —— 打手工单备注。
--
-- 整单与拼单份额分别保存，确保拼单打手只能查看和修改自己的备注。

ALTER TABLE work_orders
  ADD COLUMN IF NOT EXISTS worker_note TEXT NOT NULL DEFAULT '';

ALTER TABLE work_order_shares
  ADD COLUMN IF NOT EXISTS worker_note TEXT NOT NULL DEFAULT '';

COMMENT ON COLUMN work_orders.worker_note IS '整单打手维护的个人备注';
COMMENT ON COLUMN work_order_shares.worker_note IS '拼单打手维护的个人备注';
