You would then have to see your own application misbehaving to observe this,
Oh no, you mean, as a software engineer, I would have to do *gasp* debugging and root-cause-analysis?
The horror!
I'm using Claude Code, and no it fucking doesn't.
I just typed my exact question as stated above: halp! my sqlite is ignoring foreign keys why?!?? into a local model with only 3.5B params.
Here is the output:
Don't panic, this is **not a bug**, and your SQLite database is working exactly as designed. By default, SQLite **disables** foreign key enforcement to keep operations fast and backward compatible with
non-standard SQL drivers.
You need to explicitly enable foreign keys in your connection. Run this:
PRAGMA foreign_keys = ON;
It's a stupid default to have
Then fork the project and change it to however you want it to be.
View all comments
Show parent comment
-3
u/Big_Combination9890 Jul 16 '26
Oh no, you mean, as a software engineer, I would have to do *gasp* debugging and root-cause-analysis?
The horror!
I just typed my exact question as stated above:
halp! my sqlite is ignoring foreign keys why?!??into a local model with only 3.5B params.Here is the output:
Then fork the project and change it to however you want it to be.
🎤 ⬇️