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.
2 parents 37117ac + 5114b68 commit b67760aCopy full SHA for b67760a
1 file changed
lib/private/DB/SQLiteSessionInit.php
@@ -25,6 +25,7 @@ public function postConnect(ConnectionEventArgs $args): void {
25
$sensitive = $this->caseSensitiveLike ? 'true' : 'false';
26
$args->getConnection()->executeUpdate('PRAGMA case_sensitive_like = ' . $sensitive);
27
$args->getConnection()->executeUpdate('PRAGMA journal_mode = ' . $this->journalMode);
28
+ $args->getConnection()->executeUpdate('PRAGMA foreign_keys = true');
29
/** @var \Doctrine\DBAL\Driver\PDO\Connection $connection */
30
$connection = $args->getConnection()->getWrappedConnection();
31
$pdo = $connection->getWrappedConnection();
0 commit comments