MySQL, PostgreSQL: database.yml defaults to utf-8. Closes #8701.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2007-06-25 18:01:15 +00:00
parent ec5b2b503c
commit 2cda5096b8
3 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,7 @@
*SVN*
* MySQL, PostgreSQL: database.yml defaults to utf-8. #8701 [matt]
* Added db:version to get the current schema number [via Err The Blog]
* Added --skip-migration option to scaffold and resource generators #8656 [Michael Glaesemann]

View File

@ -13,6 +13,7 @@
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql
encoding: utf8
database: <%= app_name %>_development
username: root
password:
@ -27,6 +28,7 @@ development:
# Do not set this db to the same as development or production.
test:
adapter: mysql
encoding: utf8
database: <%= app_name %>_test
username: root
password:
@ -38,6 +40,7 @@ test:
production:
adapter: mysql
encoding: utf8
database: <%= app_name %>_production
username: root
password:

View File

@ -6,6 +6,7 @@
# gem install postgres-pr
development:
adapter: postgresql
encoding: unicode
database: <%= app_name %>_development
username: <%= app_name %>
password:
@ -33,12 +34,14 @@ development:
# Do not set this db to the same as development or production.
test:
adapter: postgresql
encoding: unicode
database: <%= app_name %>_test
username: <%= app_name %>
password:
production:
adapter: postgresql
encoding: unicode
database: <%= app_name %>_production
username: <%= app_name %>
password: