config/database.example.yml
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
# === sqlite3 ===
# adapter: sqlite3
# encoding: utf8
# pool: 5
# === mysql ===
# adapter: mysql2
# host: localhost
# username: root
# password:
# encoding: utf8
# pool: 5
development:
<<: *default
database: lodge_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: lodge_test
production:
<<: *default
#database: lodge_production
database: lodge_production