SqliteMigration
Defined in: packages/core/src/store/migrations.ts:27
Single versioned migration. up statements run in order, in one transaction.
Properties
Section titled “Properties”description
Section titled “description”description:
string
Defined in: packages/core/src/store/migrations.ts:29
probe: (
inspect) =>boolean
Defined in: packages/core/src/store/migrations.ts:36
Returns true when the migration’s effect is already visible on the live
schema. Used once, only for databases with no schema_version rows yet,
to infer a starting baseline without re-running DDL that would fail.
Parameters
Section titled “Parameters”inspect
Section titled “inspect”Returns
Section titled “Returns”boolean
up: readonly
string[]
Defined in: packages/core/src/store/migrations.ts:30
version
Section titled “version”version:
number
Defined in: packages/core/src/store/migrations.ts:28