fix(resume): remove shadowing local ResumeSectionCfg (use types.ts with edu kind)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user