Sha256: 6a34d0af894dfe68d3809780bc19809677e3015b2baf3f7b7b1c24bec3bbff92

Contents?: true

Size: 746 Bytes

Versions: 12

Compression:

Stored size: 746 Bytes

Contents

settings: &settings
  adapter: postgresql
  encoding: utf8
  min_messages: warning
  timeout: <%%= Integer(ENV.fetch('DATABASE_TIMEOUT', 5000))%>
  pool: <%%= Integer(ENV.fetch('DATABASE_POOL', 5))%>


development:
  <<: *settings
  reaping_frequency: <%%= Integer(ENV.fetch('DATABASE_REAPING_FREQUENCY', 10))%>
  database: <%= app_name %>_development

test:
  <<: *settings
  reaping_frequency: <%%= Integer(ENV.fetch('DATABASE_REAPING_FREQUENCY', 10))%>
  database: <%= app_name %>_test

staging:
  <<: *settings
  database: <%= app_name %>_staging


production:
  <<: *settings
  username:
  password:
  database: <%= app_name %>_production
  pool: <%%= [Integer(ENV.fetch("PUMA_THREADS", 5)), Integer(ENV.fetch("DATABASE_POOL", 5))].max %>


Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kazan-0.5.0 templates/database.yml.erb
kazan-0.4.0 templates/database.yml.erb
kazan-0.3.1 templates/database.yml.erb
kazan-0.3.0 templates/database.yml.erb
kazan-0.2.4 templates/database.yml.erb
kazan-0.2.3 templates/database.yml.erb
kazan-0.2.2 templates/database.yml.erb
kazan-0.2.1 templates/database.yml.erb
kazan-0.2.0 templates/database.yml.erb
kazan-0.1.2 templates/database.yml.erb
kazan-0.1.1 templates/database.yml.erb
kazan-0.1.0 templates/database.yml.erb