Is there some reason I would be unable to turn off foreign key constraints? I sanity checked doc and

Is there some reason I would be unable to turn off foreign key constraints? I sanity checked doc and afaik it should be possible, but when I execute the following query:
PRAGMA foreign_keys = OFF;
DROP TABLE IF EXISTS Users;
DROP TABLE IF EXISTS Rooms;
DROP TABLE IF EXISTS Sessions;
PRAGMA foreign_keys = ON;

I still get a
✘ [ERROR] FOREIGN KEY constraint failed
Was this page helpful?