FeatureFuel
1

Add database `afterCreate` pool `init` hook

Source: directus/directus#22973 · opened by @rijkvanzanten
This will allow specific database connection params to be used, like WAL mode on Sqlite, or CockroachDB options like serial_normalization etc.

Discussed in


<div type='discussions-op-text'>

<sup>Originally posted by xmichaelx June 28, 2022</sup>
Is Directus using WAL with SQLite backend? If not is it possible to enable it with executing pragma journal_mode=wal; somewhere? Can it be configured?

I see that in
there is line which enables foreign_keys await run('PRAGMA foreign_keys = ON'); would it be possible to add WAL? or at least do so depending on additional variable?</div>

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests