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

Function needsMigration

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

Source from the content-addressed store, hash-verified

378 * Check if the database needs migration
379 */
380export function needsMigration(db: SqliteDatabase): boolean {
381 const current = getCurrentVersion(db);
382 return current < CURRENT_SCHEMA_VERSION;
383}
384
385/**
386 * Get list of pending migrations

Callers

nothing calls this directly

Calls 1

getCurrentVersionFunction · 0.85

Tested by

no test coverage detected