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 b8f2dd4 commit 5114b68Copy full SHA for 5114b68
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