Skip to content

DatabaseMigration

DatabaseMigration = string | ((database) => void)

Defined in: packages/node/src/sqlite/migrate-database.ts:8

One step of a SQLite schema: SQL to run, or a function given the database for a step SQL alone cannot express. Either runs inside a transaction, so it must not begin or end one itself.