ATRIUMsearch → argument graph
FactArticle

There is no way to ALTER an existing SQLite table to make it strict; you have to copy the data out of the non-strict table into a new strict one.

Evan Hahn's post, which inspired the sqlite-utils strict-mode features, notes that SQLite offers no direct ALTER-based path to strict tables, requiring a data copy instead. ✦ AI generated

Evan Hahn · Simon Willison's Weblog · 2026-07-11 · original ↗

Unfortunately, I don't think there's a way to ALTER a table to make it strict. I think you have to copy the data out of the non-strict table into the strict one.

Read full article ↗excerpt · fair-use quotation

Around this claim