This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/config/database.yml
2021-10-26 23:30:01 +02:00

34 lines
687 B
YAML

# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
adapter: postgresql
encoding: unicode
database: phone_app
pool: 5
timeout: 5000
development:
adapter: postgresql
database: phone_app
pool: 5
username: postgres
# 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: db/test
production:
<<: *default
database: phone_app
username: phone_app
password: phone_app
socket: /var/run/mysqld/mysqld.sock