ATRIUMsearch → argument graph
MechanismArticle

table.transform() implements the SQLite-documentation-recommended pattern for altering tables beyond what ALTER TABLE supports: create a new temp table with the new schema, copy the data across, then drop the old table and rename the new one into place.

sqlite-utils migrations rely on table.transform(), which follows SQLite's own recommended workaround for altering table schemas in ways ALTER TABLE cannot handle. ✦ AI generated

Simon Willison · Simon Willison's Weblog · 2026-07-07 · original ↗

table.transform() implements the pattern recommended by the SQLite documentation - create a new temporary table with the new schema, copy across the data, then drop the old table and rename the temporary one in its place.

Read full article ↗excerpt · fair-use quotation

Around this claim
This moment responds to