mirror of https://github.com/docker/docs.git
rails.md: change the database.yml in the example (#701)
In this example, database.yml uses the default value of `postgres` for the `database` key. The database postgres is normally not used for user data, but for administrative purposes. This means people following this example will not be able to drop the database, and in general it's just not a great idea.
This commit is contained in:
parent
82acde4105
commit
a086af7a8b
|
|
@ -122,7 +122,7 @@ Replace the contents of `config/database.yml` with the following:
|
||||||
development: &default
|
development: &default
|
||||||
adapter: postgresql
|
adapter: postgresql
|
||||||
encoding: unicode
|
encoding: unicode
|
||||||
database: postgres
|
database: myapp_development
|
||||||
pool: 5
|
pool: 5
|
||||||
username: postgres
|
username: postgres
|
||||||
password:
|
password:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue