Reputation: 2363
I need to convert a MySQL column to use BLOB instead of VARCHAR that's used to store encrypted data.
I can find all sorts of posts of how to convert from BLOB to VARCHAR, but cannot find anything for going from VARCHAR to BLOB.
Can someone tell me how to do this?
Upvotes: 5
Views: 5760
Reputation: 2363
I figured it out by using:
alter table users change email email blob
Upvotes: 8