noleafclover614@gmail.com's avatar

PHPUnit, SQLite, and Cascading Deletes

Hi all,

I'm using cascading deletes on a pivot table in my database. Using a tool like MySQL Workbench to delete records manually, this works as expected (both records disappear).

In my tests (which use an SQLite database) I can't seem to get the related records to delete. Is there a limitation with this type of thing with SQLite? Any type of setup I am overlooking?

0 likes
0 replies

Please or to participate in this conversation.