dimanche 5 juillet 2015

Laravel 5.1: Enable SQLite foreign key constraints

In SQLite, foreign key constraints are disabled by default.

What's the best way to configure Laravel 5.1's SQLite database connection to enable foreign key constraints? I don't see a way of doing this in ['connections']['sqlite'] in /config/database.php.

Aucun commentaire:

Enregistrer un commentaire