aboutsummaryrefslogtreecommitdiffstats
path: root/config/database.yml-example
blob: e9103b7fa4d8f175630575a342938ae29df121eb (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
33
34
# Database configuration. We're using PostgreSQL, but I guess it should work
# with others. 

development:
  adapter: postgresql
  template: template_utf8
  database: alaveteli_development
  username: <username>
  password: <password>
  host: localhost
  port: 5432

# 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
  template: template_utf8
  database: alaveteli_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
  template: template_utf8
  database: alaveteli_production
  username: <username>
  password: <password>
  host: localhost
  port: 5432