summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorLibravatar kim <grufwub@gmail.com>2025-06-24 12:32:52 +0200
committerLibravatar kim <gruf@noreply.codeberg.org>2025-06-24 12:32:52 +0200
commit9d5af6c3dc3f502e21f1dcf305cc0306c9bfc9fe (patch)
tree045545b6a7d62bf0731eb55e8d4f4e810df2c7e4 /docs/configuration
parent[chore] Add info and reminder to save changes at the top of profile settings ... (diff)
downloadgotosocial-9d5af6c3dc3f502e21f1dcf305cc0306c9bfc9fe.tar.xz
[bugfix] update the default configuration to not set a db type or address, to require explicitly setting it (#4228)
This updates the database defaults to remove a type or address. This is to help ensure we don't have any repeats of https://codeberg.org/superseriousbusiness/gotosocial/issues/4183, it means the user needs to explicitly configure these things core settings instead of relying on defaults. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4228 Reviewed-by: Daenney <daenney@noreply.codeberg.org> Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/database.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration/database.md b/docs/configuration/database.md
index 223742753..0823d675b 100644
--- a/docs/configuration/database.md
+++ b/docs/configuration/database.md
@@ -2,7 +2,7 @@
GoToSocial stores statuses, accounts, etc, in a database. This can be either [SQLite](https://sqlite.org/index.html) or [Postgres](https://www.postgresql.org/).
-By default, GoToSocial will use SQLite, but this is easy to change.
+GoToSocial has no default configured database type or address. In most situations, we recommend the use of SQLite.
## SQLite
@@ -71,7 +71,7 @@ db-postgres-connection-string: 'postgres://myUser:myPass@localhost/db?search_pat
# String. Database type.
# Options: ["postgres","sqlite"]
-# Default: "sqlite"
+# Default: ""
db-type: "sqlite"
# String. Database address or parameters.