mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 14:16:39 +02:00
SqliteDriver: disables exceptions (is enabled since PHP 8.3)
This commit is contained in:
@@ -57,6 +57,7 @@ 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