We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efdd613 commit dc25641Copy full SHA for dc25641
1 file changed
src/storage/db/db.ts
@@ -26,6 +26,8 @@ export async function connectToDb(databasePath: string) {
26
enableForeignKeyConstraints: true,
27
});
28
29
+ nativeDb.exec("PRAGMA journal_mode = WAL");
30
+
31
const db = new Kysely<Database>({
32
plugins: [datePlugin, new SqliteBooleanPlugin()],
33
dialect: new SqliteDialect({ database: nativeDb }),
0 commit comments