default: &default
  adapter: mysql2
  encoding: utf8
  pool: 5
  username: root
  password:
  # Use this for local mysql instances
  socket: /var/run/mysqld/mysqld.sock

  # Use this for Docker
  #host: localhost:3306

development:
  <<: *default
  database: commit_watcher_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: commit_watcher_test

production:
  <<: *default
  username: commit_watcher
  password: <%= ENV['COMMIT_WATCHER_DATABASE_PASSWORD'] %>
  database: commit_watcher_production
