You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, the Doctrine JsonType defines it differently according to the platform, depending on if it has native support for a json type or not. So I guess you're using PostgreSQL.
I'm not aware of any drawbacks of overwriting it for custom types though, so let's add it.
I try to use the
json_collection
type (https://github.com/Elao/PhpEnums#in-a-symfony-app) : it works well butdoctrine: migration: diff
offers me the same migration permanently.While digging a little I came across this issue : https://github.com/dunglas/doctrine-json-odm/pull/43/files
So I try to add
requiresSQLCommentHint
toAbstractJsonCollectionEnumType
:And it works.
The text was updated successfully, but these errors were encountered: