2020-01-27 17:10:29 +01:00
|
|
|
# For staging & production environments, copy this file to database.yml
|
|
|
|
# For development & test environments, you can use this file OR config/database.yml.default
|
|
|
|
|
2016-03-23 18:39:41 +01:00
|
|
|
default: &default
|
|
|
|
adapter: postgresql
|
|
|
|
encoding: unicode
|
|
|
|
pool: 25
|
|
|
|
username: postgres
|
|
|
|
password: <%= ENV["POSTGRES_PASSWORD"] %>
|
|
|
|
host: <%= ENV["POSTGRES_HOST"] %>
|
|
|
|
|
|
|
|
development:
|
|
|
|
<<: *default
|
|
|
|
database: fablab_development
|
|
|
|
|
|
|
|
# Warning: The database defined as "test" will be erased and
|
2020-03-25 17:58:53 +01:00
|
|
|
# re-generated from your development database when you run "rails".
|
2016-03-23 18:39:41 +01:00
|
|
|
# Do not set this db to the same as development or production.
|
|
|
|
test:
|
|
|
|
<<: *default
|
|
|
|
database: fablab_test
|
|
|
|
|
|
|
|
staging:
|
|
|
|
<<: *default
|
|
|
|
database: fablab_staging
|
|
|
|
|
|
|
|
|
|
|
|
production:
|
|
|
|
<<: *default
|
|
|
|
database: fablab_production
|