Last active
October 11, 2017 05:06
-
-
Save pawelztef/eb3f1e6e4eb1244b4b428dc69dc8f4b7 to your computer and use it in GitHub Desktop.
ruby on rails database configuration exemples
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
| default: &default | |
| adapter: mysql2 | |
| encoding: utf8 | |
| pool: 5 | |
| username: | |
| password: | |
| socket: /var/run/mysqld/mysqld.sock | |
| development: | |
| <<: *default | |
| database: | |
| production: | |
| <<: *default | |
| database: |
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
| development: | |
| adapter: postgresql | |
| encoding: unicode | |
| database: | |
| pool: 5 | |
| username: postgres | |
| password: postgres | |
| min_messages: warning | |
| test: | |
| adapter: postgresql | |
| encoding: unicode | |
| database: | |
| pool: 5 | |
| username: postgres | |
| password: postgres | |
| min_messages: warning | |
| production: | |
| adapter: postgresql | |
| encoding: unicode | |
| database: | |
| pool: 5 | |
| username: postgres | |
| password: postgres | |
| min_messages: warning |
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
| development: | |
| adapter: sqlite3 | |
| database: db/development.sqlite3 | |
| timeout: 5000 | |
| test: | |
| adapter: sqite3 | |
| database: db/test.sqlite3 | |
| timeout: 5000 | |
| production: | |
| adapter: sqlite3 | |
| database: db/production.sqlite3 | |
| timeout: 5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment