> 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. This inspired me to add a feature to my sqlite-utils Python library and CLI tool, so you can now use it to transform non-strict tables to strict (and vice-versa) like this: uvx sqlite-utils transform data.db mytable --strict Or in Python: import sqlite_uti…
> This inspired me to add a feature to my sqlite-utils Python library "me" == "ChatGPT", apparently: > Can the .transform() internal Python method turn a non-strict table into a strict table? > No. Table.transform() preserves the table’s existing strictness; it cannot change it. Its signature has no strict= parameter > add an optional strict= boolean parameter to the transform() method - if it is None (the default) t…
As far as I can tell I've shared more prompt transcripts than anyone else. Happy to be proven wrong about that.
Look through my commit history on https://github.com/simonw/tools/commits and https://github.com/simonw/sqlite-utils/commits and https://github.com/simonw/datasette/commits and you'll see that commits that were AI-assisted almost all link to a transcript or include a prompt or both.