MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / needsMigration

Function needsMigration

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

Source from the content-addressed store, hash-verified

202 * Check if the database needs migration
203 */
204export function needsMigration(db: SqliteDatabase): boolean {
205 const current = getCurrentVersion(db);
206 return current < CURRENT_SCHEMA_VERSION;
207}
208
209/**
210 * Get list of pending migrations

Callers

nothing calls this directly

Calls 1

getCurrentVersionFunction · 0.85

Tested by

no test coverage detected