© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
37 replies
ethan

Database error saving new user when using trigger

Hey, I'm using supabase and prisma and i'm having trouble with triggers. I have a handle_new_user function that's triggered whenever a user signs up and it's erroring and preventing you from signing up. posted pics of my function and user model. any help would be appreciated, ty!
image.png
image.png
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Database error saving new user
SupabaseSSupabase / help-and-questions
4y ago
Database error saving new user
SupabaseSSupabase / help-and-questions
6mo ago
Database error saving new user
SupabaseSSupabase / help-and-questions
6mo ago
Database error saving new user - Google Provider
SupabaseSSupabase / help-and-questions
13mo ago