Sha256: f2e7ba2a568d41006f25fc0c247f1033861b01a4d70f73abc57a65f2046b86e6
Contents?: true
Size: 729 Bytes
Versions: 38
Compression:
Stored size: 729 Bytes
Contents
default: &default adapter: <%= @adapter %> encoding: utf8mb4 pool: <%%= ENV["DB_POOL"] || 5 %> database: <%%= ENV['DB_NAME'] || '<%= @database_development %>' %> <% if @adapter == 'postgresql' -%> username: <%%= ENV['DB_USER'] || ENV['USER'] %> <% else -%> username: <%%= ENV['DB_USER'] || 'root' %> <% end -%> password: <%%= ENV['DB_PASS'] %> host: <%%= ENV["DB_HOST"] %> url: <%%= ENV['DATABASE_URL'] %> # takes higher precedence than other settings development: <<: *default database: <%%= ENV['DB_NAME'] || '<%= @database_development %>' %> test: <<: *default database: <%= @database_test %> production: <<: *default database: <%= @database_production %> url: <%%= ENV['DATABASE_URL'] %>
Version data entries
38 entries across 28 versions & 1 rubygems