fix(resume): remove shadowing local ResumeSectionCfg (use types.ts with edu kind)

This commit is contained in:
root
2026-10-17 12:48:13 +08:00
parent f95efd481f
commit 9d2e14b72a
20 changed files with 113 additions and 80 deletions
+2
View File
@@ -336,6 +336,8 @@ function openDb(dbPath) {
d.exec('PRAGMA foreign_keys = ON;');
preMigrateColumns(d);
d.exec(fs.readFileSync(path.join(__dirname, '..', 'schema.sql'), 'utf8'));
// 个人信息表兜底(确保任何挂载形态下都存在)
d.exec("CREATE TABLE IF NOT EXISTS profile (id INTEGER PRIMARY KEY AUTOINCREMENT, uuid TEXT, content TEXT NOT NULL DEFAULT '{}', deleted_at TEXT, origin TEXT, hlc TEXT)");
migrateSync(d);
ensureBuiltin(d);
alignBuiltinUuids(d);