Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/store-sqlite / migrations

migrations

Migration registry + runner for @graphorin/store-sqlite.

The default createSqliteStore({ ... }) factory invokes runMigrations during MemoryStore.init; downstream packages register additional migrations via registerMigration before the first init() call.

Functions

FunctionDescription
_resetDynamicMigrationsForTestingTest-only helper. Drops every dynamically-registered migration so a test can rebuild a clean registry without leaking state across cases.
listAppliedMigrationsSnapshot of every migration ever applied to this database.

References

AppliedMigration

Re-exports AppliedMigration


listMigrations

Re-exports listMigrations


Migration

Re-exports Migration


registerMigration

Re-exports registerMigration


runMigrations

Re-exports runMigrations