Loss of funds from database overwritten - Supabase