Sha256: 30bfc5a1756eb1d402e67eb25be7a68a83ed42d17f2bfa209fbf2c65da3b2304

Contents?: true

Size: 775 Bytes

Versions: 102

Compression:

Stored size: 775 Bytes

Contents

default: &default
  adapter: <%= @database == 'mysql' ? 'mysql2' : 'postgresql' %>
  encoding: utf8
  pool: <%%= ENV["DB_POOL"] || 5  %>
  database: <%%= ENV['DB_NAME'] || '<%= @project_name %>_development' %>
<% if @database == 'mysql' -%>
  username: <%%= ENV['DB_USER'] || 'root' %>
<% else -%>
  username: <%%= ENV['DB_USER'] || ENV['USER'] %>
<% 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'] || '<%= @project_name %>_development' %>

test:
  <<: *default
  database: <%= @project_name %>_test

production:
  <<: *default
  database: <%= @project_name %>_production
  url: <%%= ENV['DATABASE_URL'] %>

Version data entries

102 entries across 102 versions & 3 rubygems

Version Path
jets_bb_fork-0.0.4 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-2.0.6 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-2.0.5 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-2.0.4 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-2.0.3 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-2.0.1 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-2.0.0 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.32 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.31 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.30 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.29 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.28 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.27 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.26 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.25 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.24 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.23 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.22 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.21 lib/jets/commands/templates/skeleton/config/database.yml.tt
jets-1.9.20 lib/jets/commands/templates/skeleton/config/database.yml.tt