mirror of
https://github.com/dg/dibi.git
synced 2025-02-21 09:23:57 +01:00
Revert "SqliteDriver: disables exceptions (is enabled since PHP 8.3)"
This reverts commit bb1f7d4b9348996c13a391f6c52f53b584a5d915.
This commit is contained in:
parent
86a71dde28
commit
23f65ef837
@ -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');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user