about summary refs log tree commit diff
path: root/config/database.yml
blob: 8914ab16d9f3c982c2c7843212655e66f73b51f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
default: &default
  adapter: postgresql
  pool: 5
  timeout: 5000
  encoding: unicode

development:
  <<: *default
  database: mastodon_development

# 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:
  <<: *default
  database: mastodon_test

production:
  <<: *default
  database: postgres
  username: postgres
  password:
  host: db