gongchunyi
2026-05-23 320a2f0e7e3f6e6e4ad15636a603ece4143e9ec2
1
2
3
4
5
6
7
8
9
10
drop table if exists customer_user;
create table customer_user
(
    id          bigint auto_increment
        primary key,
    customer_id bigint not null default 0 comment '客户id',
    user_id     bigint not null default 0 comment '用户id',
    create_time datetime null comment '录入时间',
    tenant_id   bigint not null default 0 comment '租户id'
);