I'm using phpunit with Symfony2.
I decided to use sqlite for my tests.
The issue I'm having is that the foreign keys constraints are ignored.
I know I have to execute the following query in order to use foreign keys : PRAGMA foreign_keys = ON).
My question is : is there a way to always use foreign keys when creating the database schema with sqlite ?
Thanks !