Relative Content

Tag Archive for phpsymfonydoctrine

Disable a Symfony command from vendor

I have a Symfony project with Doctrine. Doctrine has a command doctrine:schema:update.
It gets used too often, lets say out of habits. After running the doctrine:schema:update all the migrations are messed up.

fetching multiple entity associations without Ramsey Doctrine uuid

I am using right now Symfony and Ramsey to generate mysql binary uuids and everything is working perfectly, both storage and data recovering. I want to decouple from this
library and generate my own database ids. I have created a custom class (CustomBinaryUuid) that generates Uuids from ramsey’s php uuid package (ramsey/uuid) and
converted to binary ($uuid->toBytes()). Ids are generated and stored properly.