1.表结构
Field
Type
Comment
tm_sequence_id
bigint(20) NOT NULL
主键id
seq_name
varchar(30) NULL
序列名称
current_value
bigint(20) unsigned NULL
序列当前值
max_id
bigint(20) NULL
序列最大值(不填为数据类型的最大值)
cycle
smallint(6) NULL
0:默认不循环;1:循环
increment
int(10) unsigned NULL
增量(默认1)
remark
varchar(100) NULL
注释说明
2.索引
Indexes
Columns
Index Type
PRIMARY
tm_sequence_id
Unique
idx_seq_name
seq_name
Unique
3.建表语句(以下是mysql数据库执行脚本)
CREATE TABLE `tm_sequence` (
`tm_sequence_id` b