Closed 0528Makoto closed 3 years ago
Ok, so this is an issue with Postgres not supporting the utf8_bin
collation? Or something else? I'm not super familiar with Postgres specifics.
We need to specify some binary collation here, otherwise (as you can see from the PR) the test fails when normalizing strings with accents (see https://github.com/cviebrock/eloquent-taggable/blob/master/tests/TaggingTests.php#L303-L314).
Can you suggest an alternate fix that still works with that test?
add a small change for the tests to pass, but it would be necessary to test in other drivers (sqlserver, sqlite)
Merged and bumped the version. I'll have to spend a bit more time to make sure this works with the other drivers. Thanks!!
Description:
Then migration
Migrating: 2021_03_30_111045_create_taggable_table
gives an error when using the postgres with Laravel. Runningphp artisan migrate
on a fresh installation gives the following error.Steps To Reproduce:
.env
to use postgres as driverphp artisan migrate