I have set my Connection string to use Character Set=utf8mb4:
"ConnectionStrings": {
"MyDatabase": "User Id=root;Host=127.0.0.1;Port=3306;Database=my_database;Character Set=utf8mb4;Password=password;"
}
I ran dotnet ef migrations add InitialCreate to create the initial migration with the database creation, but when I run dotnet ef database update the database is created with latin1 charset.