Ticket #8701: add_utf8_encoding_to_mysql_postgres.diff
| File add_utf8_encoding_to_mysql_postgres.diff, 1.5 kB (added by matt, 3 years ago) |
|---|
-
railties/configs/databases/postgresql.yml
old new 6 6 # gem install postgres-pr 7 7 development: 8 8 adapter: postgresql 9 encoding: unicode 9 10 database: <%= app_name %>_development 10 11 username: <%= app_name %> 11 12 password: … … 33 34 # Do not set this db to the same as development or production. 34 35 test: 35 36 adapter: postgresql 37 encoding: unicode 36 38 database: <%= app_name %>_test 37 39 username: <%= app_name %> 38 40 password: 39 41 40 42 production: 41 43 adapter: postgresql 44 encoding: unicode 42 45 database: <%= app_name %>_production 43 46 username: <%= app_name %> 44 47 password: -
railties/configs/databases/mysql.yml
old new 13 13 # http://dev.mysql.com/doc/refman/5.0/en/old-client.html 14 14 development: 15 15 adapter: mysql 16 encoding: utf8 16 17 database: <%= app_name %>_development 17 18 username: root 18 19 password: … … 27 28 # Do not set this db to the same as development or production. 28 29 test: 29 30 adapter: mysql 31 encoding: utf8 30 32 database: <%= app_name %>_test 31 33 username: root 32 34 password: … … 38 40 39 41 production: 40 42 adapter: mysql 43 encoding: utf8 41 44 database: <%= app_name %>_production 42 45 username: root 43 46 password: