ankane / lockbox

Modern encryption for Ruby and Rails
MIT License
1.45k stars 68 forks source link

How to force migration again. #189

Closed WinstonPais closed 8 months ago

WinstonPais commented 8 months ago

consider I have column info under User. and have created info_ciphertext.

I migrated using Lockbox.migrate(User). But due to some issues info column got updated but info_ciphertext didn't.

I want to run Lockbox.migrate(User) again so that it updates all the info_ciphertext again by checking info

Is this something already handled? I see a restart param but unsure how i could use it.