Re:Migrating from Supabase
by yesimahuman on Saturday May 20, 2023 @10:09AM
(#36012050)
Just wanted to add I’ve been using the local development and migrations workflow and it has been fantastic. Honestly the only issue I’ve really had is how frustratingly difficult it is to change an id field from int8 to uuid if I mistakenly don’t choose the right one at first and the migrations get stuck on that and I have to resort to manual hacking. Setting up local/staging/prod with this new system seems really easy. Nice work!
[ Parent
| on HN ]
Re:Migrating from Supabase
by kiwicopple on Monday May 22, 2023 @03:28PM
(#36035600)
thanks Max, I'm also a fan of ionic. fwiw, I usually start with uuids now that they're natively supported: `id uuid primary key default gen_random_uuid()`. Changing a PK/FK type on a database definitely isn't trivial.