The name of the database. Not used for SQLite.
The filename of the SQLite database. Only used for SQLite.
The host of the database. Not used for SQLite.
The mode of the database.
The password of the database. Not used for SQLite.
The port of the database. Not used for SQLite.
Reduce the amount of database requests, so serverless databases (e.g. neon.tech) can go to sleep when the instance is idle. 'none' keeps the current behavior. 'light' extends internal cache lifetimes and slows down the cleanup schedulers, so the database is only woken up every few minutes. 'hard' additionally moves rate limit tracking into valkey and buffers new notes in valkey, writing them to the database in batches. 'hard' requires VALKEY_ENABLED=true, otherwise the app will not start.
Use SSL for the database connection.
If SSL is used, should the certificate be verified.
The username of the database. Not used for SQLite.
In the rare case that you need to downgrade the database, set this temporarily to true. Be aware that this can lead to data loss. Make sure to have backups.