DROP TABLE IF EXISTS `EXT_AX_DICT_CONF`;
CREATE TABLE `EXT_AX_DICT_CONF`
(
    `id`             bigint      NOT NULL AUTO_INCREMENT COMMENT '字典编码',
    `dict_id`        bigint      NOT NULL COMMENT '分类字典的 ID',
    `config_type`    varchar(50) NOT NULL DEFAULT '' COMMENT '配置类型',
    `workspace_id`   bigint      NOT NULL COMMENT '工作台 ID',
    `operation_name` varchar(50) NOT NULL DEFAULT '' COMMENT '操作人',
    `create_at`      datetime    NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    `update_at`      datetime    NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
    `is_delete`      bigint      NOT NULL DEFAULT '0' COMMENT '是否删除',
    PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT ='字典数据表';
create index idx_type_label_value on EXT_AX_DICT_CONF (dict_id, workspace_id, config_type);
