mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 06:07:39 +02:00
Revert "SqliteDriver: disables exceptions (is enabled since PHP 8.3)"
This reverts commit bb1f7d4b93
.
This commit is contained in:
@@ -57,7 +57,6 @@ class SqliteDriver implements Dibi\Driver
|
||||
|
||||
// enable foreign keys support (defaultly disabled; if disabled then foreign key constraints are not enforced)
|
||||
$version = SQLite3::version();
|
||||
$this->connection->enableExceptions(false);
|
||||
if ($version['versionNumber'] >= '3006019') {
|
||||
$this->query('PRAGMA foreign_keys = ON');
|
||||
}
|
||||
|
Reference in New Issue
Block a user