add database.yml

This commit is contained in:
jomo
2015-03-22 22:57:09 +01:00
parent 631a56a8c1
commit 6ed86ce909

28
config/database.yml Normal file
View File

@@ -0,0 +1,28 @@
default: &default
adapter: mysql2
encoding: utf8
database: website
pool: 5
timeout: 5000
host: 127.0.0.1
development:
<<: *default
database: redstoner-web
username: root
production:
<<: *default
# please set ENV["DATABASE_URL"]
# 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