Files
lingxi-ai/packages/server/src/db/hermes/init.ts
T
yiandCursor 7d10320a82
Build / build (push) Has been cancelled
NPM Lockfile Check / npm ci --ignore-scripts (push) Has been cancelled
Playwright / e2e (push) Has been cancelled
feat: 灵犀 Studio Web UI 定制版
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 11:29:11 +08:00

15 lines
453 B
TypeScript

/**
* Unified initializer for all Hermes SQLite stores.
* Call this once at bootstrap to create/migrate all tables.
*
* All table schemas, creation, and migration logic are now centralized
* in schemas.ts to avoid duplication and ensure consistency.
*/
import { initAllHermesTables } from './schemas'
export function initAllStores(): void {
// Initialize all tables with centralized schema definitions and migrations
initAllHermesTables()
}