Skip to content

dropDatabase

const dropDatabase: () => Promise<void> = sqliteRepo.dropDatabase

Defined in: lib/repositories/chat-history.ts:58

Drop the SQLite-backed chat database. Used by the user-facing “reset all app data” flow. The next read will recreate the schema via initSQLite()’s SCHEMA_SQL run.

Promise<void>