Repository navigation
fix(driver-sql)!: a boolean field is stored as a boolean whatever spelling the caller sends #52659
pr-automation.yml
on: pull_request
Check PR Size
41s
Check Changeset
2m 19s
Auto Label
44s
Annotations
1 notice
|
Check Changeset:
.changeset/boolean-write-spelling-canonical.md#L0
ADR-0087 exemption (no-migration-prescription): No key of any schema is added, removed, renamed or re-shaped, and no export changes shape. What moves is the write door of the SQLite-family drivers (SqlDriver on SQLite, both faces of TursoDriver, SqliteWasmDriver) for a direct caller: a value on a declared boolean or toggle field that spells no boolean is refused instead of stored, and the spellings it accepts are stored as the boolean they spell. The engine's own door already refuses those values with invalid_boolean, so no authored metadata, seed or stored row is rewritten and nothing needs a tombstone.
|