mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #34349 from yahonda/restore_encoding_utf8mb4
Restore `encoding: utf8mb4` in database.yml
This commit is contained in:
commit
405aef3ded
2 changed files with 2 additions and 0 deletions
|
@ -1011,6 +1011,7 @@ If you choose to use MySQL or MariaDB instead of the shipped SQLite3 database, y
|
||||||
```yaml
|
```yaml
|
||||||
development:
|
development:
|
||||||
adapter: mysql2
|
adapter: mysql2
|
||||||
|
encoding: utf8mb4
|
||||||
database: blog_development
|
database: blog_development
|
||||||
pool: 5
|
pool: 5
|
||||||
username: root
|
username: root
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
#
|
#
|
||||||
default: &default
|
default: &default
|
||||||
adapter: mysql2
|
adapter: mysql2
|
||||||
|
encoding: utf8mb4
|
||||||
pool: <%%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
pool: <%%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||||
username: root
|
username: root
|
||||||
password:
|
password:
|
||||||
|
|
Loading…
Reference in a new issue