spec/dummy/config/database.yml in panda_pal-5.4.11 vs spec/dummy/config/database.yml in panda_pal-5.6.0

- old
+ new

@@ -1,25 +1,25 @@ -# SQLite version 3.x -# gem install sqlite3 -# -# Ensure the SQLite 3 gem is defined in your Gemfile -# gem 'sqlite3' -# + default: &default adapter: postgresql - pool: 5 - timeout: 5000 + encoding: unicode + # For details on connection pooling, see Rails configuration guide + # http://guides.rubyonrails.org/configuring.html#database-pooling + pool: <%= ENV.fetch("DB_POOL_SIZE", nil) || (ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i + 10) %> + username: <%= ENV.fetch("DB_USERNAME", "") %> + password: <%= ENV.fetch("DB_PASSWORD", "") %> + host: <%= ENV.fetch("DB_ADDRESS", "localhost") %> development: <<: *default database: panda_pal_development -# 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: panda_pal_test production: <<: *default - database: db/production.sqlite3 + host: <%= ENV.fetch('DB_ADDRESS', 'localhost') %> + database: panda_pal_production + username: <%= ENV.fetch("DB_USERNAME", "panda_pal_specs_postgres_user") %> + password: <%= ENV.fetch("DB_PASSWORD", 'panda_pal_specs_postgres_password') %>