huminmin
2026-05-12 ce1ea9ac3806578719070a463ef7381a0d3c5148
doc/20260511_create_table_production_team.sql
@@ -26,3 +26,9 @@
    index              idx_sys_user_id (sys_user_id),
    unique idx_production_team_user (production_team_id, sys_user_id)
);
alter table production_order add column team_leader_user_id bigint not null default 0 comment '班组长ID';
alter table production_order add index idx_team_leader_user_id (team_leader_user_id);
alter table production_operation_task
    add team_user_id bigint default 0 not null comment '班组团员用户id';