aboutsummaryrefslogtreecommitdiffstats
path: root/config/database.yml-example
blob: b1597e6fe837a8ee41cd087261936b5449c349f5 (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
# 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

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