Files
zyt/server/database/migrations/add_order_wechat_payee_payer.sql
T
2026-03-19 12:19:00 +08:00

6 lines
421 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 订单表增加收款人、付款人字段(企业微信对外收款同步用)
-- 将 zyt_ 替换为你的表前缀(.env 中 PREFIX
ALTER TABLE `zyt_order` ADD COLUMN `payee_userid` VARCHAR(64) NULL COMMENT '收款人企业微信userid' AFTER `creator_id`;
ALTER TABLE `zyt_order` ADD COLUMN `payer_external_userid` VARCHAR(128) NULL COMMENT '付款人企业微信客户external_userid' AFTER `payee_userid`;