add database.yml
This commit is contained in:
28
config/database.yml
Normal file
28
config/database.yml
Normal 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
|
||||||
Reference in New Issue
Block a user