tracks/config/database.yml.tmpl
Matt Rogers f81905cbb5 Use mysql for all databases in the template file
Sqlite is not in the Gemfile so it makes no sense to have it in the
database.yml.tmpl file.
2012-10-09 12:22:07 -05:00

40 lines
1,019 B
Cheetah

development:
adapter: mysql2
database: tracks
# set this if you are storing utf8 in your mysql database to handle strings
# like "Réné". Not needed for sqlite. For PostgreSQL use encoding: unicode
# encoding: utf8
host: localhost
username: root
password:
production:
adapter: mysql2
database: tracks
# set this if you are storing utf8 in your mysql database to handle strings
# like "Réné".Not needed for sqlite. For PostgreSQL use encoding: unicode
# encoding: utf8
host: localhost
username: root
password:
# The following is an example to configure Tracks to use sqlite
#production:
# adapter: sqlite3
# database: db/tracks-20-blank.sqlite3.db
# pool: 5
# timeout: 5000
# 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: &TEST
adapter: mysql2
database: tracks_test
username: root
encoding: utf8
cucumber:
<<: *TEST