Migrating to supabase from create-t3-turbo

Hey guys! I'm migrating a create-t3-turbo app to the supabase create-t3-turbo template, and I'm a bit confused about how you're supposed to go about adding the Profile model in the Prisma schema to the DB (although I renamed it to User), I saw a blog post about adding it using supabase triggers, but I'm not sure if that's the way you intended for people to do it. Any ideas on how to go about this or am I missing something?
1 Reply
vibbin
vibbin2y ago
I Think you want to create a supabase webhook that calls an api route in your next app. From there you can create the User from the supabase data.
Want results from more Discord servers?
Add your server