Created
August 8, 2014 20:32
-
-
Save felipecabargas/41ec37aedb81b33711a4 to your computer and use it in GitHub Desktop.
Database YML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
localcommon: &localcommon | |
adapter: sqlite3 | |
pool: 5 | |
timeout: 5000 | |
# config for postgres | |
common: &common | |
adapter: postgresql | |
encoding: unicode | |
username: postgres | |
# config for mysql | |
common2: &common2 | |
adapter: mysql2 | |
encoding: utf8 | |
username: root | |
password: '123321' | |
test: | |
<<: *localcommon | |
database: db/test.sqlite3 | |
development: | |
<<: *localcommon | |
database: db/development.sqlite3 | |
#NOTE:The following configs is for file upload/download. If you do not touch them | |
#during daily development, just keep them unchanged. | |
#NOTE: postgres | |
#development: | |
# <<: *common | |
# database: letshire_development | |
#NOTE: mysql | |
#development: | |
# <<: *common2 | |
# database: letshire_development | |
ci: | |
<<: *localcommon | |
database: db/test.sqlite3 | |
production: | |
<<: *common | |
database: letshire_production |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment