We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d22e4b commit 9d6f32dCopy full SHA for 9d6f32d
1 file changed
lib/private/DB/SQLiteSessionInit.php
@@ -41,6 +41,7 @@ public function postConnect(ConnectionEventArgs $args) {
41
$sensitive = $this->caseSensitiveLike ? 'true' : 'false';
42
$args->getConnection()->executeUpdate('PRAGMA case_sensitive_like = ' . $sensitive);
43
$args->getConnection()->executeUpdate('PRAGMA journal_mode = ' . $this->journalMode);
44
+ $args->getConnection()->executeUpdate('PRAGMA foreign_keys = true');
45
/** @var \Doctrine\DBAL\Driver\PDO\Connection $connection */
46
$connection = $args->getConnection()->getWrappedConnection();
47
$pdo = $connection->getWrappedConnection();
0 commit comments