source: subversion/sites/rails_port_branches/api06/config/database.yml @ 14476

Revision 14476, 1009 bytes checked in by smsm1, 5 years ago (diff)

Remove duplication that is in the test helper. Adding tests for the passing of no content, and the wrong method used. Also ensuring that there has been a changeset added to the db when it is created.

Line 
1# MySQL (default setup).  Versions 4.1 and 5.0 are recommended.
2#
3# Install the MySQL driver:
4#   gem install mysql
5# On MacOS X:
6#   gem install mysql -- --include=/usr/local/lib
7# On Windows:
8#   There is no gem for Windows.  Install mysql.so from RubyForApache.
9#   http://rubyforge.org/projects/rubyforapache
10#
11# And be sure to use new-style password hashing:
12#   http://dev.mysql.com/doc/refman/5.0/en/old-client.html
13development:
14  adapter: postgresql
15  database: openstreetmap
16  username: shaunmcdonald
17  password: postgres
18  #host: localhost
19  encoding: utf8
20
21# Warning: The database defined as 'test' will be erased and
22# re-generated from your development database when you run 'rake'.
23# Do not set this db to the same as development or production.
24test:
25  adapter: postgresql
26  database: osm_test
27  username: shaunmcdonald
28  password: postgres
29  #host: localhost
30  encoding: utf8
31
32production:
33  adapter: postgresql
34  database: osm
35  username: osm
36  password: osm
37  host: localhost
38  encoding: utf8
Note: See TracBrowser for help on using the repository browser.