-- 打手提现账户：每位打手仅允许首次登记，后续变更由客服处理。
CREATE TABLE IF NOT EXISTS worker_withdrawal_accounts (
  worker_id BIGINT PRIMARY KEY REFERENCES worker_users(id) ON DELETE CASCADE,
  account_channel TEXT NOT NULL CHECK (account_channel IN ('alipay', 'wechat')),
  account_name TEXT NOT NULL,
  account_no TEXT NOT NULL,
  created_at TIMESTAMPTZ NOT NULL
);

COMMENT ON TABLE worker_withdrawal_accounts IS '打手不可自行修改的提现账户';
COMMENT ON COLUMN worker_withdrawal_accounts.account_channel IS '提现渠道：alipay / wechat';
