Skip to content

Graphorin API reference v0.15.1


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

Stable

The migrations bundled with this build that are NOT recorded as applied in the supplied database. 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 ​

ParameterType
connSqliteConnection

Returns ​

readonly Migration[]