Sha256: f9b8a41e9e65510c3d9abdf56f522e43b4c9f44916383100c718bbb14f09c7b7

Contents?: true

Size: 1.7 KB

Versions: 19

Compression:

Stored size: 1.7 KB

Contents

# MySQL. Versions 5.0 and up are supported.
#
# Install the MySQL driver
#   gem install mysql2
#
# Ensure the MySQL gem is defined in your Gemfile
#   gem 'mysql2'
#
# And be sure to use new-style password hashing:
#   http://dev.mysql.com/doc/refman/5.7/en/old-client.html
#
default: &default
  adapter: postgresql
  encoding: unicode
  pool: 5
  username: <%= ENV['POSTGRES_USER'] %>
  password: <%= ENV['POSTGRES_PASSWORD'] %>
  host: <%= ENV['POSTGRES_HOST'] %>

development:
  <<: *default
  database: totoro_development

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
  <<: *default
  database: totoro_test

# As with config/secrets.yml, you never want to store sensitive information,
# like your database password, in your source code. If your source code is
# ever seen by anyone, they now have access to your database.
#
# Instead, provide the password as a unix environment variable when you boot
# the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
# for a full rundown on how to provide these environment variables in a
# production deployment.
#
# On Heroku and other platform providers, you may have a full connection URL
# available as an environment variable. For example:
#
#   DATABASE_URL="mysql2://myuser:mypass@localhost/somedatabase"
#
# You can use this database configuration with:
#
#   production:
#     url: <%= ENV['DATABASE_URL'] %>
#
production:
  <<: *default
  database: <%= ENV['DATABASE_NAME'] %>
  host: <%= ENV['DATABASE_HOST'] %>
  username: <%= ENV['DATABASE_USERNAME'] %>
  password: <%= ENV['DATABASE_PASSWORD'] %>

Version data entries

19 entries across 18 versions & 1 rubygems

Version Path
totoro-1.0.7 test/totoro_test/config/database.yml
totoro-1.0.6 test/totoro_test/config/database.yml
totoro-1.0.6 pkg/totoro-1.0.5/test/totoro_test/config/database.yml
totoro-1.0.5 test/totoro_test/config/database.yml
totoro-1.0.4 test/totoro_test/config/database.yml
totoro-1.0.3 test/totoro_test/config/database.yml
totoro-1.0.2 test/totoro_test/config/database.yml
totoro-1.0.1 test/totoro_test/config/database.yml
totoro-1.0.0 test/totoro_test/config/database.yml
totoro-0.6.1 test/totoro_test/config/database.yml
totoro-0.6.0 test/totoro_test/config/database.yml
totoro-0.5.7 test/totoro_test/config/database.yml
totoro-0.5.6 test/totoro_test/config/database.yml
totoro-0.5.5 test/totoro_test/config/database.yml
totoro-0.5.4 test/totoro_test/config/database.yml
totoro-0.5.3 test/totoro_test/config/database.yml
totoro-0.5.2 test/totoro_test/config/database.yml
totoro-0.5.1 test/totoro_test/config/database.yml
totoro-0.5.0 test/totoro_test/config/database.yml