MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / needsMigration

Function needsMigration

src/db/migrations.ts:154–157  ·  view source on GitHub ↗
(db: SqliteDatabase)

Source from the content-addressed store, hash-verified

152 * Check if the database needs migration
153 */
154export function needsMigration(db: SqliteDatabase): boolean {
155 const current = getCurrentVersion(db);
156 return current < CURRENT_SCHEMA_VERSION;
157}
158
159/**
160 * Get list of pending migrations

Callers

nothing calls this directly

Calls 1

getCurrentVersionFunction · 0.85

Tested by

no test coverage detected