(db: SqliteDatabase)
| 378 | * Check if the database needs migration |
| 379 | */ |
| 380 | export 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 |
nothing calls this directly
no test coverage detected