Update user id from text to uuid

I started working in a project that is using TEXT for the user_id, it also contains foreign keys so I can't seem to update from the dashboard. Is there any recommended approach to do this?
4 Replies
MrAmG17
MrAmG17•2y ago
if you still have 0 data, then just drop that field from all related stuff and recreate a new one with uuid where needed.
Robert Brunhage
Robert BrunhageOP•2y ago
Thanks, went with that approach and worked fine!
MrAmG17
MrAmG17•2y ago
just realized I follow you on youtube 😄 how unexpected and cool 🙂 hopefully a new video incoming?
Robert Brunhage
Robert BrunhageOP•2y ago
Hah, we will see!

Did you find this page helpful?