2010-03-12 16:48:14 +03:00
|
|
|
# MySQL (default setup).
|
2006-07-09 20:30:01 +04:00
|
|
|
|
|
|
|
production:
|
|
|
|
adapter: mysql
|
2011-02-25 02:24:20 +03:00
|
|
|
database: chiliproject
|
2006-07-09 20:30:01 +04:00
|
|
|
host: localhost
|
|
|
|
username: root
|
|
|
|
password:
|
2008-06-24 22:39:49 +04:00
|
|
|
encoding: utf8
|
2006-07-09 20:30:01 +04:00
|
|
|
|
2006-06-28 22:11:03 +04:00
|
|
|
development:
|
|
|
|
adapter: mysql
|
2011-02-25 02:24:20 +03:00
|
|
|
database: chiliproject_development
|
2006-06-28 22:11:03 +04:00
|
|
|
host: localhost
|
|
|
|
username: root
|
|
|
|
password:
|
2008-06-24 22:39:49 +04:00
|
|
|
encoding: utf8
|
2007-09-28 02:30:57 +04:00
|
|
|
|
2010-03-12 16:48:14 +03:00
|
|
|
# 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.
|
2006-06-28 22:11:03 +04:00
|
|
|
test:
|
|
|
|
adapter: mysql
|
2011-02-25 02:24:20 +03:00
|
|
|
database: chiliproject_test
|
2006-06-28 22:11:03 +04:00
|
|
|
host: localhost
|
|
|
|
username: root
|
|
|
|
password:
|
2008-06-24 22:39:49 +04:00
|
|
|
encoding: utf8
|
2006-07-09 20:30:01 +04:00
|
|
|
|
|
|
|
test_pgsql:
|
|
|
|
adapter: postgresql
|
2011-02-25 02:24:20 +03:00
|
|
|
database: chiliproject_test
|
2006-07-09 20:30:01 +04:00
|
|
|
host: localhost
|
|
|
|
username: postgres
|
|
|
|
password: "postgres"
|
|
|
|
|
2008-01-20 17:24:19 +03:00
|
|
|
test_sqlite3:
|
|
|
|
adapter: sqlite3
|
2011-01-23 13:25:48 +03:00
|
|
|
database: db/test.sqlite3
|