lib/potassium/assets/config/database_postgresql.yml.erb in potassium-5.2.3 vs lib/potassium/assets/config/database_postgresql.yml.erb in potassium-6.0.0
- old
+ new
@@ -1,8 +1,8 @@
development: &default
adapter: postgresql
- database: <%= get(:underscorized_app_name) %>_development
+ database: <%= get(:dasherized_app_name) %>_development
encoding: utf8
host: <%%= ENV["DB_HOST"] || "127.0.0.1" %>
port: <%%= ENV["DB_PORT"] || 5432 %>
username: <%%= ENV["DB_USER"] || 'postgres' %>
min_messages: warning
@@ -10,10 +10,10 @@
reaping_frequency: <%%= Integer(ENV.fetch("DB_REAPING_FREQUENCY", 10)) %>
timeout: 5000
test:
<<: *default
- database: <%= get(:underscorized_app_name) %>_test
+ database: <%= get(:dasherized_app_name) %>_test
production: &deploy
encoding: utf8
min_messages: warning
pool: <%%= [Integer(ENV.fetch("MAX_THREADS", 5)), Integer(ENV.fetch("DB_POOL", 5))].max %>