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

Version Path
jets-2.3.16 lib/jets/commands/import/templates/config/database.yml
jets-2.3.16 lib/jets/turbo/templates/config/database.yml
jets-2.3.15 lib/jets/turbo/templates/config/database.yml
jets-2.3.15 lib/jets/commands/import/templates/config/database.yml
jets-2.3.14 lib/jets/commands/import/templates/config/database.yml
jets-2.3.14 lib/jets/turbo/templates/config/database.yml
jets-2.3.13 lib/jets/commands/import/templates/config/database.yml
jets-2.3.12 lib/jets/commands/import/templates/config/database.yml
jets-2.3.11 lib/jets/commands/import/templates/config/database.yml
jets-2.3.10 lib/jets/commands/import/templates/config/database.yml
jets-2.3.9 lib/jets/commands/import/templates/config/database.yml
jets-2.3.8 lib/jets/commands/import/templates/config/database.yml
jets-2.3.7 lib/jets/commands/import/templates/config/database.yml
jets-2.3.6 lib/jets/commands/import/templates/config/database.yml
jets-2.3.5 lib/jets/commands/import/templates/config/database.yml
jets-2.3.4 lib/jets/commands/import/templates/config/database.yml
jets-2.3.3 lib/jets/commands/import/templates/config/database.yml
jets-2.3.2 lib/jets/commands/import/templates/config/database.yml
jets-2.3.1 lib/jets/commands/import/templates/config/database.yml
jets-2.3.0 lib/jets/commands/import/templates/config/database.yml