mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-11-04 10:57:10 +08:00 
			
		
		
		
	fix: 修复系统日志表索引缺失导致查询耗时较长的问题
This commit is contained in:
		@@ -133,5 +133,6 @@ CREATE TABLE IF NOT EXISTS `sys_log` (
 | 
			
		||||
    `create_user` bigint(20) UNSIGNED DEFAULT NULL COMMENT '创建人',
 | 
			
		||||
    `create_time` datetime NOT NULL COMMENT '创建时间',
 | 
			
		||||
    PRIMARY KEY (`id`) USING BTREE,
 | 
			
		||||
    INDEX `idx_create_user`(`create_user`) USING BTREE
 | 
			
		||||
    INDEX `idx_client_ip`(`client_ip`) USING BTREE,
 | 
			
		||||
    INDEX `idx_create_time`(`create_time`) USING BTREE
 | 
			
		||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='系统日志表';
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user