Files
lingxi-ai/packages/server/src/db/hermes/init.ts
T

15 lines
453 B
TypeScript
Raw Normal View History

2026-06-05 11:29:11 +08:00
/**
* 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()
}