add the logic to save chat record when open boss manually

This commit is contained in:
geekgeekrun
2024-11-03 23:12:58 +08:00
parent 2aa8bb05bb
commit d531c07e8b
4 changed files with 114 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ import { VBossLibrary } from "./entity/VBossLibrary";
import { VJobLibrary } from "./entity/VJobLibrary";
import { VCompanyLibrary } from "./entity/VCompanyLibrary"
import { VMarkAsNotSuitLog } from "./entity/VMarkAsNotSuitLog"
import { ChatMessageRecord } from './entity/ChatMessageRecord'
import sqlite3 from 'sqlite3';
import * as cliHighlight from 'cli-highlight';
@@ -53,6 +54,7 @@ export function initDb(dbFilePath) {
VCompanyLibrary,
MarkAsNotSuitLog,
VMarkAsNotSuitLog,
ChatMessageRecord,
],
migrations: [
UpdateChatStartupLogTable1729182577167