-- pigx 核心表
create database `pigxx` default character set utf8mb4 collate utf8mb4_general_ci;

-- pigx 工作流相关库
create database `pigxx_flow` default character set utf8mb4 collate utf8mb4_general_ci;

-- pigx 任务相关库
create database `pigxx_job` default character set utf8mb4 collate utf8mb4_general_ci;

-- pigx 公众号管理相关库
create database `pigxx_mp` default character set utf8mb4 collate utf8mb4_general_ci;

-- pigx nacos配置相关库
create database `pigxx_config` default character set utf8mb4 collate utf8mb4_general_ci;

-- pigx pay配置相关库
create database `pigxx_pay` default character set utf8mb4 collate utf8mb4_general_ci;

-- pigx codegen相关库
create database `pigxx_codegen` default character set utf8mb4 collate utf8mb4_general_ci;

-- pigx report相关库
create database `pigxx_report` default character set utf8mb4 collate utf8mb4_general_ci;

-- pigx bi 报表相关的数据库
create database `pigxx_bi` default character set utf8mb4 collate utf8mb4_general_ci;

-- pigx app 模块相关的数据库
create database `pigxx_app` default character set utf8mb4 collate utf8mb4_general_ci;
