Encrypting columns in-place #1930
rgalanakis
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We recently migrated a number of columns from plain-text to encrypted, using the
column_encryption
plugin. Here is how we did the migration- maybe someone has a better option, but I figured this could be useful so wanted to post it:Note this is not a 'safe' migration in terms of downtime, but it was a lot more convenient than multiple steps so worth the short downtime.
I also want to say I think this felt like an intuitive use of Sequel (and worked on the first try), creating temporary classes to shim for the plugins, rather than requiring models in the migrations, which causes all sorts of other problems.
Beta Was this translation helpful? Give feedback.
All reactions