Sha256: 6be65417db26971f5081d77db398d040e41856105cce25466645e41ef44f6d8b
Contents?: true
Size: 807 Bytes
Versions: 124
Compression:
Stored size: 807 Bytes
Contents
default: &default adapter: <%= @adapter %> <% if @adapter == 'postgresql' -%> encoding: unicode <% else -%> encoding: utf8mb4 <% end -%> 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
124 entries across 71 versions & 2 rubygems