You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration/databases/sqlite.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ By default, Opengist uses SQLite as the database backend.
5
5
Because SQLite is a file-based database, there is not much configuration to tweak.
6
6
7
7
The configuration `db-uri`/`OG_DB_URI` refers to the path of the SQLite database file relative in the `$opengist-home/` directory (default `opengist.db`),
8
-
although it can be left untouched.
8
+
although it can be left untouched. You can also use an absolute path outside the `$opengist-home/` directory.
9
9
10
10
The SQLite journal mode is set to [`WAL` (Write-Ahead Logging)](https://www.sqlite.org/pragma.html#pragma_journal_mode) by default and can be changed.
11
11
@@ -14,6 +14,9 @@ The SQLite journal mode is set to [`WAL` (Write-Ahead Logging)](https://www.sqli
14
14
# default
15
15
db-uri: opengist.db
16
16
sqlite.journal-mode: WAL
17
+
18
+
# absolute path outside the $opengist-home/ directory
0 commit comments