Darum sagte ich ja auch
RTFM
Und Augen auf, wenn es da heißt

Zitat von
sqlite.org - Enabling Foreign Key Support:
Assuming the library is compiled with foreign key constraints enabled,
it must still be enabled by the application at runtime, using the
PRAGMA foreign_keys command.
Also, wo schaltest du von deiner Anwendung aus dieses Verhalten ein?
Kaum macht man's richtig - schon funktioniert's

Zertifikat: Sir Rufo (Fingerprint: ea 0a 4c 14 0d b6 3a a4 c1 c5 b9
dc 90 9d f0 e9 de 13 da 60)