fix: sql缺少字段补充、dockefile调整等

This commit is contained in:
meilin.huang
2024-10-24 11:56:22 +08:00
parent 2118acf244
commit 5e5afd49dc
6 changed files with 61 additions and 38 deletions

View File

@@ -501,8 +501,8 @@ DROP TABLE IF EXISTS `t_machine_term_op`;
CREATE TABLE `t_machine_term_op` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`machine_id` bigint NOT NULL COMMENT '机器id',
`username` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '登录用户名',
`record_file_path` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '终端回放文件路径',
`username` varchar(60) DEFAULT NULL COMMENT '登录用户名',
`file_key` varchar(36) DEFAULT NULL COMMENT '文件',
`exec_cmds` TEXT NULL COMMENT '执行的命令记录',
`creator_id` bigint unsigned DEFAULT NULL,
`creator` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,

View File

@@ -43,6 +43,7 @@ CREATE TABLE `t_db_transfer_files` (
PRIMARY KEY (id)
) COMMENT '数据库迁移文件管理';
ALTER TABLE `t_machine_term_op` ADD COLUMN `file_key` varchar(36) DEFAULT NULL COMMENT '文件';
ALTER TABLE `t_flow_procdef`
ADD COLUMN `condition` text NULL comment '触发审批的条件计算结果返回1则需要启用该流程';