feat: enable emulateMySQL on SQLite adapter for test backend

Pulls latest utopia-php/database (e44768f) with the emulateMySQL flag and
opts SQLite into MariaDB-shape behaviour so the existing test suite, which
assumes MariaDB semantics, continues to pass against SQLite.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jake Barnby
2026-04-30 13:22:08 +12:00
parent 7234f69738
commit 46357947a7
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -356,7 +356,7 @@ $register->set('pools', function () {
'mysql' => new MySQL($resource()),
'mongodb' => new Mongo($resource()),
'postgresql' => new Postgres($resource()),
'sqlite' => new SQLite($resource()),
'sqlite' => (new SQLite($resource()))->setEmulateMySQL(true),
default => null
};
Generated
+4 -4
View File
@@ -3854,12 +3854,12 @@
"source": {
"type": "git",
"url": "https://github.com/utopia-php/database.git",
"reference": "3f34f4ec6f94a61c04479aafb0fbd22afdc60c26"
"reference": "e44768f63a09f8db5b61d20661b78b344fa03aec"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/database/zipball/3f34f4ec6f94a61c04479aafb0fbd22afdc60c26",
"reference": "3f34f4ec6f94a61c04479aafb0fbd22afdc60c26",
"url": "https://api.github.com/repos/utopia-php/database/zipball/e44768f63a09f8db5b61d20661b78b344fa03aec",
"reference": "e44768f63a09f8db5b61d20661b78b344fa03aec",
"shasum": ""
},
"require": {
@@ -3936,7 +3936,7 @@
"source": "https://github.com/utopia-php/database/tree/feat-sqlite-fts",
"issues": "https://github.com/utopia-php/database/issues"
},
"time": "2026-04-29T13:42:00+00:00"
"time": "2026-04-30T01:18:14+00:00"
},
{
"name": "utopia-php/detector",