1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Files
wrestlingdev.com/config/database.yml

37 lines
876 B
YAML

# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
#adapter: mysql
#encoding: utf8
#database: wrestlingtourney
#pool: 5
#username: root
#password: password
# 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: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
production:
adapter: mysql2
encoding: utf8
database: <%= ENV['WRESTLINGDEV_DB_NAME'] %>
username: <%= ENV['WRESTLINGDEV_DB_USR'] %>
password: <%= ENV['WRESTLINGDEV_DB_PWD'] %>
host: <%= ENV['WRESTLINGDEV_DB_HOST'] %>
port: <%= ENV['WRESTLINGDEV_DB_PORT'] %>