create table sj_sequence_alloc ( id bigint unsigned auto_increment comment '主键' primary key, namespace_id varchar(64) default '764d604ec6fc45f68cd92514c40e9e1a' not null comment '命名空间id', group_name varchar(64) default '' not null comment '组名称', max_id bigint default 1 not null comment '最大id', step int default 100 not null comment '步长', update_dt datetime default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP comment '更新时间', constraint uk_namespace_id_group_name unique (namespace_id, group_name) ) comment '号段模式序号ID分配表';