Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 7116

Show
Ignore:
Timestamp:
06/25/07 18:01:15 (2 years ago)
Author:
bitsweat
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/CHANGELOG

    r7111 r7116  
    11*SVN* 
     2 
     3* MySQL, PostgreSQL: database.yml defaults to utf-8.  #8701 [matt] 
    24 
    35* Added db:version to get the current schema number [via Err The Blog] 
  • trunk/railties/configs/databases/mysql.yml

    r6869 r7116  
    1414development: 
    1515  adapter: mysql 
     16  encoding: utf8 
    1617  database: <%= app_name %>_development 
    1718  username: root 
     
    2829test: 
    2930  adapter: mysql 
     31  encoding: utf8 
    3032  database: <%= app_name %>_test 
    3133  username: root 
     
    3941production: 
    4042  adapter: mysql 
     43  encoding: utf8 
    4144  database: <%= app_name %>_production 
    4245  username: root 
  • trunk/railties/configs/databases/postgresql.yml

    r3642 r7116  
    77development: 
    88  adapter: postgresql 
     9  encoding: unicode 
    910  database: <%= app_name %>_development 
    1011  username: <%= app_name %> 
     
    3435test: 
    3536  adapter: postgresql 
     37  encoding: unicode 
    3638  database: <%= app_name %>_test 
    3739  username: <%= app_name %> 
     
    4042production: 
    4143  adapter: postgresql 
     44  encoding: unicode 
    4245  database: <%= app_name %>_production 
    4346  username: <%= app_name %>