Files
sure/config/database.yml
Juan José Mata 5706280dd7 More rebranding changes (#159)
* Replace Maybe for Sure in select code areas

* Make sure passwords are consistent

* Remove (admin|member) from demo data first name

* Database and schema names finally to `sure`

* Fix broken test

* Another (benchmarking) database name to `sure_*`

* More rebranding to Sure

* Missed this Maybe mention in the same page

* Random nitpicks and more Maybes

* Demo data accounts and more Maybes

* Test data account updates

* Impersonation test accounts

* Consistency with `compose.example.yml`
2025-09-24 00:19:51 +02:00

21 lines
591 B
YAML

default: &default
adapter: postgresql
encoding: unicode
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 3 } %>
host: <%= ENV.fetch("DB_HOST") { "127.0.0.1" } %>
port: <%= ENV.fetch("DB_PORT") { "5432" } %>
user: <%= ENV.fetch("POSTGRES_USER") { nil } %>
password: <%= ENV.fetch("POSTGRES_PASSWORD") { nil } %>
development:
<<: *default
database: <%= ENV.fetch("POSTGRES_DB") { "sure_development" } %>
test:
<<: *default
database: <%= ENV.fetch("POSTGRES_DB") { "sure_test" } %>
production:
<<: *default
database: <%= ENV.fetch("POSTGRES_DB") { "sure_production" } %>