feat: 使用concurrently实现跨平台同时启动前后端
refactor(models): 优化模型初始化逻辑避免重复同步 refactor(OperationLog): 将createdAt索引改为operateTime docs: 添加一次性启动解决方案文档
This commit is contained in:
@@ -81,8 +81,8 @@ const OperationLog = sequelize.define('OperationLog', {
|
||||
{ fields: ['userId'] },
|
||||
{ fields: ['action'] },
|
||||
{ fields: ['module'] },
|
||||
{ fields: ['createdAt'] },
|
||||
{ fields: ['userId', 'createdAt'] }
|
||||
{ fields: ['operateTime'] },
|
||||
{ fields: ['userId', 'operateTime'] }
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user