Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/store-sqlite / / pendingMigrations
Function: pendingMigrations()
ts
function pendingMigrations(conn): readonly Migration[];Defined in: packages/store-sqlite/src/migrations/runner.ts:118
The migrations bundled with this build that are NOT recorded as applied in the supplied database (W-068). Read-only: when the schema_migrations table does not exist yet (a database this code never touched), every bundled migration is pending and the foreign file is NOT marked by creating the table.
Parameters
| Parameter | Type |
|---|---|
conn | SqliteConnection |
Returns
readonly Migration[]