79770763

Date: 2025-09-21 09:11:43
Score: 1
Natty:
Report link

Handle new users in your frontend/backend after signup instead of using a trigger:

const { data, error } = await supabase
  .from('users')
  .insert([{ user_id: user.id, email: user.email, role: 'Low' }]);

This avoids breaking the signup flow and is safer for production.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vraj Kanani