mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	feat: 标签支持拖拽移动与机器支持执行命令查看
This commit is contained in:
		@@ -493,6 +493,7 @@ CREATE TABLE `t_machine_term_op` (
 | 
			
		||||
  `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 '终端回放文件路径',
 | 
			
		||||
  `exec_cmds` TEXT NULL COMMENT '执行的命令记录'
 | 
			
		||||
  `creator_id` bigint unsigned DEFAULT NULL,
 | 
			
		||||
  `creator` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
 | 
			
		||||
  `create_time` datetime NOT NULL,
 | 
			
		||||
 
 | 
			
		||||
@@ -143,4 +143,8 @@ UPDATE t_tag_tree SET is_deleted = 1, delete_time = NOW() WHERE `type` = 2;
 | 
			
		||||
UPDATE t_tag_tree SET `type` = 2 WHERE `type` = 100;
 | 
			
		||||
 | 
			
		||||
ALTER TABLE t_tag_tree DROP COLUMN pid;
 | 
			
		||||
ALTER TABLE t_tag_tree_team DROP COLUMN tag_path;
 | 
			
		||||
ALTER TABLE t_tag_tree_team DROP COLUMN tag_path;
 | 
			
		||||
 | 
			
		||||
-- 新增记录执行命令字段
 | 
			
		||||
ALTER TABLE t_machine_term_op ADD exec_cmds TEXT NULL COMMENT '执行的命令记录';
 | 
			
		||||
ALTER TABLE t_machine_term_op CHANGE exec_cmds exec_cmds TEXT NULL COMMENT '执行的命令记录' AFTER record_file_path;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user