aboutsummaryrefslogtreecommitdiffstats
path: root/config/database.yml-example
blob: e48577f2391239ac06ea66ecb70a0d45b9abca7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Database configuration. We're using PostgreSQL, but I guess it should work
# with others. 

development:
  adapter: postgresql
  database: foi_development
  username: <username>
  password: <password>
  host: localhost
  port: 5432 # PostgreSQL 8.1 pretty please

# 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:
  adapter: postgresql
  database: foi_test
  username: <username>
  password: <password>
  host: localhost
  port: 5432
# Uncomment the following if the user is not a postgres superuser
# constraint_disabling: false

production:
  adapter: postgresql
  database: foi_production
  username: <username>
  password: <password>
  host: localhost
  port: 5432