admin/sql/20260727_customer_phone_nullable.sql
zzh 69d234c705 feat: simplify WeChat register and require contact before order
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 13:07:29 +08:00

6 lines
341 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.

-- 微信注册简化:客户手机号改为可空(空值请用 NULL,勿存空字符串)
-- 执行环境:生产库先备份;与 docs/微信注册简化与联系方式补全方案.md 一致
ALTER TABLE `t_customer`
MODIFY COLUMN `Phone` VARCHAR(16) NULL COMMENT '手机号,用于联系;可空,唯一(NULL 可多条)';