Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3925

How to migrate deprecated symfony doctrine ObjectType into dunglas doctrine-json-odm

$
0
0

We are using Symfony 4.4 and before doing next major updateswe want to switch from deprecated Doctrine\DBAL\Types\ObjectTypeto dunglas/doctrine-json-odm.

I am now looking for an easy way to convert all the existing 190K object values into the new json format.

The ugly idea is to create a temp method, looping over all the entities, getting the object value and write it into the json value.

Is there an better solution? Maybe directly in the migration file?


Viewing all articles
Browse latest Browse all 3925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>