Files
sqlite-migrate/src/index.ts
Brendan Chen d2dfa5f61b feat: add migration runner with genesisProbeTable param
Forward-only SQLite migration runner lifted from authd (src/db/migrate.ts,
PR #14 / merge ced21ab) and parameterized for cross-project use. The single
deliberate API change vs. authd's source: the previously-hardcoded
GENESIS_PROBE_TABLE = 'users' is now an ApplyOptions.genesisProbeTable?: string
option (default 'users').
2026-05-12 02:16:16 -07:00

13 lines
212 B
TypeScript

export {
applyMigrations,
listMigrations,
readAppliedRows,
stampMigration,
} from './migrate.js';
export type {
ApplyOptions,
MigrationFile,
MigrationRow,
MigrationSummary,
} from './migrate.js';