summaryrefslogtreecommitdiffstats
path: root/lib/private/db/connectionfactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/db/connectionfactory.php')
-rw-r--r--lib/private/db/connectionfactory.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/db/connectionfactory.php b/lib/private/db/connectionfactory.php
index 67e0d86710b..83a59cddd7f 100644
--- a/lib/private/db/connectionfactory.php
+++ b/lib/private/db/connectionfactory.php
@@ -113,6 +113,7 @@ class ConnectionFactory {
break;
case 'sqlite3':
$journalMode = $additionalConnectionParams['sqlite.journal_mode'];
+ $additionalConnectionParams['platform'] = new OCSqlitePlatform();
$eventManager->addEventSubscriber(new SQLiteSessionInit(true, $journalMode));
break;
}