(db: SqliteDatabase)
| 152 | * Check if the database needs migration |
| 153 | */ |
| 154 | export function needsMigration(db: SqliteDatabase): boolean { |
| 155 | const current = getCurrentVersion(db); |
| 156 | return current < CURRENT_SCHEMA_VERSION; |
| 157 | } |
| 158 | |
| 159 | /** |
| 160 | * Get list of pending migrations |
nothing calls this directly
no test coverage detected