Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate existing data #43

Open
nicolaskern opened this issue Dec 2, 2015 · 2 comments
Open

Migrate existing data #43

nicolaskern opened this issue Dec 2, 2015 · 2 comments

Comments

@nicolaskern
Copy link

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

@BboyKeen
Copy link

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.

@nicolaskern
Copy link
Author

Hey,

I actually dug https://github.com/juliencharrel/DoctrineEncryptBundle which is doing things fine.

Thanks ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants