DoctrineEncryptBundle
DoctrineEncryptBundle copied to clipboard
Migrate existing data
Hi,
Is there a built-in way to update the existing data to be able to encode them in database? My problem is that I can't loose the existing data and need to encode them.
One solution would be to create a Symfony command which would get the non-encoded data, retrieve the entity and use the regular setter.
Thanks, Nicolas
Hello nicolaskern,
You should dig into this fork which provides what you're looking for. https://github.com/ambta/DoctrineEncryptBundle
You'll find command to encrypt your whole database.
Hey,
I actually dug https://github.com/juliencharrel/DoctrineEncryptBundle which is doing things fine.
Thanks ;)