DROP TABLE IF EXISTS `EXT_AX_RE_MODEL`;
CREATE TABLE IF NOT EXISTS EXT_AX_RE_MODEL
(
    `id`
    bigint
    NOT
    NULL
    AUTO_INCREMENT
    COMMENT
    '主键',
    `model_id`
    varchar
(
    100
) NOT NULL COMMENT '流程模型ID',
    `status` tinyint NOT NULL DEFAULT '0' COMMENT '状态（1正常 0停用）',
    `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_model_id on EXT_AX_RE_MODEL (model_id);
