geonames
geonames copied to clipboard
use utf8mb4 for names and altnames
The alternate_names data has utf8 characters that are longer than 3 bytes, so we need to change the character encoding and collation to utf8mb4
- see here and here. This is a fix that requires mysql >= 5.5
This is the error you get with utf8
:
@nitper sorry for the delay, looks that we need to import illumiante/support in order to make the tests pass. Use the facade Illuminate\Support\Facades\DB
should get the tests green.
Do you wanna push it and check?