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

Function needsMigration

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

Source from the content-addressed store, hash-verified

229 * Check if the database needs migration
230 */
231export function needsMigration(db: SqliteDatabase): boolean {
232 const current = getCurrentVersion(db);
233 return current < CURRENT_SCHEMA_VERSION;
234}
235
236/**
237 * Get list of pending migrations

Callers

nothing calls this directly

Calls 1

getCurrentVersionFunction · 0.85

Tested by

no test coverage detected