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

Version Path
jets-2.3.13 lib/jets/turbo/templates/config/database.yml
jets-2.3.12 lib/jets/turbo/templates/config/database.yml
jets-2.3.11 lib/jets/turbo/templates/config/database.yml
jets-2.3.10 lib/jets/turbo/templates/config/database.yml
jets-2.3.9 lib/jets/turbo/templates/config/database.yml
jets-2.3.8 lib/jets/turbo/templates/config/database.yml
jets-2.3.7 lib/jets/turbo/templates/config/database.yml
jets-2.3.6 lib/jets/turbo/templates/config/database.yml
jets-2.3.5 lib/jets/turbo/templates/config/database.yml
jets-2.3.4 lib/jets/turbo/templates/config/database.yml
jets-2.3.3 lib/jets/turbo/templates/config/database.yml
jets-2.3.2 lib/jets/turbo/templates/config/database.yml
jets-2.3.1 lib/jets/turbo/templates/config/database.yml
jets-2.3.0 lib/jets/turbo/templates/config/database.yml
jets-2.2.5 lib/jets/turbo/templates/config/database.yml
jets-2.2.4 lib/jets/turbo/templates/config/database.yml
jets-2.2.3 lib/jets/turbo/templates/config/database.yml
jets-2.2.2 lib/jets/turbo/templates/config/database.yml
jets-2.2.1 lib/jets/turbo/templates/config/database.yml
jets-2.2.1 lib/jets/commands/import/templates/config/database.yml