ATRIUMsearch → argument graph
Article · 2026-08-13 · 4 moments

sqlite-utils 4.2

Release: sqlite-utils 4.2 Lots of improvements in this one relating to the table.transform() feature, which adds support for complex alter table operations by creating a fresh table, copying across the data and then dropping and replacing the old one. transform() now preserves a much larger array of edge-case schema definitions, including check constraints, unique constraints and even comments describing the columns. There are also new introspection properties for check constraints, a ✦ AI generated

01
Mechanism

In sqlite-utils 4.2, transform() preserves a much larger array of edge-case schema definitions, including check constraints, unique constraints, and even comments describing the columns.

A key improvement: transform() now preserves more schema edge cases — check constraints, unique constraints, and column comments — when rewriting a table.

transcript

Simon Willison: transform() now preserves a much larger array of edge-case schema definitions, including check constraints, unique constraints and even comments describing the columns.

extends · 1

03
Context

sqlite-utils 4.2 adds lots of improvements to the table.transform() feature, which supports complex alter table operations by creating a fresh table, copying across the data, and then dropping and replacing the old one.

The release announcement highlights table.transform() as the main focus: it now supports complex ALTER TABLE operations by rebuilding a fresh table, copying data, then dropping and replacing the old one.

transcript

Simon Willison: Lots of improvements in this one relating to the table.transform() feature, which adds support for complex alter table operations by creating a fresh table, copying across the data and then dropping and replacing the old one.

explains mechanism · 1

Highlight slides
Related episodes