22 lines
867 B
SQL
22 lines
867 B
SQL
create table hrsa_charts_setting
|
|
(
|
|
id bigint primary key comment 'ID' ,
|
|
create_time datetime comment '创建时间' ,
|
|
update_time datetime comment '修改时间' ,
|
|
creator bigint comment '创建人id' ,
|
|
delete_type int default 0 comment '是否删除' ,
|
|
tenant_key varchar(10) comment '租户KEY' ,
|
|
table_id bigint not null comment '报表id' ,
|
|
charts_type int not null comment '报表类型' ,
|
|
item_values varchar(500) comment '统计项目' ,
|
|
item_col_value varchar(50) not null comment '统计列' ,
|
|
dimension_range int not null comment '维度统计范围' ,
|
|
item_sort_value varchar(500) comment '排序统计项目' ,
|
|
item_col_sort_value varchar(50) comment '排序列' ,
|
|
sort_type int comment '排序类型' ,
|
|
sort_num int comment '排序取数值'
|
|
)
|
|
;
|
|
|
|
create index index_echarts_tk_ae4c0e13 on hrsa_charts_setting(tenant_key)
|
|
; |