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
| Function | Description |
|---|---|
| _resetDynamicMigrationsForTesting | Test-only helper. Drops every dynamically-registered migration so a test can rebuild a clean registry without leaking state across cases. |
| listAppliedMigrations | Snapshot 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