aboutsummaryrefslogtreecommitdiffstats
path: root/config/database.yml
blob: 744cb441e071e0fd889891af9a7234e762e9d32e (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
default: &default
  adapter: postgis
  encoding: unicode
  port: 5432
  host: localhost
  schema_search_path: 'public,shared_extensions'
  username: chouette
  password: chouette
  postgis_schema: 'shared_extensions'

development:
  <<: *default
  database: chouette_2

# 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: &test
  <<: *default
  database: chouette_test

production:
  <<: *default
  adapter: <%= ENV.fetch 'RAILS_DB_ADAPTER', 'postgis' %>
  database: chouette2

cucumber:
  <<: *test