aboutsummaryrefslogtreecommitdiffstats
path: root/config/database.yml
blob: 1685c484f19c87775e4a6a00d2015e544fa5c4aa (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
35
# SQLite version 3.x
#   gem 'activerecord-jdbcsqlite3-adapter'
#
# Configure Using Gemfile
# gem 'activerecord-jdbcsqlite3-adapter'
#
development:
  adapter: <%= RUBY_PLATFORM == "java" ? "jdbcpostgresql" : "postgresql" %>
  database: chouette_dev
  encoding: utf8
  host: localhost
  port: 5432
  username: chouette
  password: chouette

# 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: <%= RUBY_PLATFORM == "java" ? "jdbcpostgresql" : "postgresql" %>
  database: chouette_test
  encoding: utf8
  host: localhost
  port: 5432
  username: chouette
  password: chouette

production:
  adapter: <%= RUBY_PLATFORM == "java" ? "jdbcpostgresql" : "postgresql" %>
  database: chouette2
  encoding: utf8
  host: localhost
  port: 5432
  username: chouette
  password: chouette