From 45b7f0b11957a9e1f4608b7522d159920161ad05 Mon Sep 17 00:00:00 2001 From: Luna Gloaming Date: Thu, 4 Oct 2018 02:17:58 +0000 Subject: [PATCH] Added quotation marks for postgresql parameters. As a new, novice user, I ran into an issue where my postgresql password contained special characters. After a brief conversation with DenSchub on #diaspora, it was noted that while the example database configuration had quotes added for mysql, but not for postgresql, and it was suggested this be improved. closes #7875 --- Changelog.md | 1 + config/database.yml.example | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Changelog.md b/Changelog.md index e2e9e3e0a..0bf125641 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,7 @@ ## Refactor * Remove mention of deprecated `statistic.json` [#7867](https://github.com/diaspora/diaspora/pull/7867) +* Add quotes in `database.yml.example` to fields that may contain special characters [#7875](https://github.com/diaspora/diaspora/pull/7875) ## Bug fixes * Add compatibility with macOS to `script/configure_bundler` [#7830](https://github.com/diaspora/diaspora/pull/7830) diff --git a/config/database.yml.example b/config/database.yml.example index 8424342b6..31d608332 100644 --- a/config/database.yml.example +++ b/config/database.yml.example @@ -1,9 +1,9 @@ postgresql: &postgresql adapter: postgresql - host: localhost + host: "localhost" port: 5432 - username: postgres - password: + username: "postgres" + password: "" encoding: unicode mysql: &mysql