SupabaseS
Supabase•6mo ago
RadzioVini

Sign up error

Hi I created a 2 related tables(look at img), I have trigger when user is created the data is passed to user_currency and default value for amount is 2000.
For 2 hours i struggling with this error when i try to create new user
"error": "failed to close prepared statement: ERROR: current transaction is aborted, commands ignored until end of transaction block (SQLSTATE 25P02): ERROR: column \"id\" of relation \"user_currency\" does not exist (SQLSTATE 42703)"
I tried to rename the user_id to id, rewrite trigger but it does not work 😦
image.png
Was this page helpful?