第一次上传
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- 分销关系表 user_id 可空兼容升级脚本
|
||||
-- 说明:
|
||||
-- 1. 历史设计中 xxk_distribution_relation 仅面向 sys_user,user_id 为 NOT NULL。
|
||||
-- 2. 会员体系接入后,会员邀请关系只依赖 member_user_id / parent_member_user_id。
|
||||
-- 3. 若继续要求 user_id 非空,会员注册或邀请码绑定时会因未传 sys_user.user_id 而写库失败。
|
||||
|
||||
ALTER TABLE `xxk_distribution_relation`
|
||||
MODIFY COLUMN `user_id` BIGINT NULL COMMENT '当前用户ID';
|
||||
Reference in New Issue
Block a user