db.query.actionRecord.findMany({ with: { recruiter: true, },});
Cannot read properties of undefined (reading 'referencedTable')
SELECT * FROM ActionRecord JOIN Recruiters ON ActionRecord.recruiterId = Recruiters.id;