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