pg config

This commit is contained in:
Torsten 2022-04-09 14:08:37 +03:00
parent 04ec074bed
commit ec037750b4

View File

@ -5,21 +5,21 @@
# gem "sqlite3"
#
default: &default
adapter: sqlite3
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
adapter: postgresql
encoding: unicode
user: postgres
development:
<<: *default
database: db/development.sqlite3
database: gateway_test
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *default
database: db/test.sqlite3
database: gateway_dev
production:
<<: *default
database: db/production.sqlite3
database: gateway_production