I would create a dummy rails app, add Devise and your model (probably called User), then study the differences between your current database and the one in your dummy app.
I did that migration a couple of years ago and didn’t have any problem. You just have to set the type of password hash correctly if you want people’s passwords to remain valid. If you can make everyone reset their password, then you don’t have to worry about that.