Hello
New to laravel and the docs don’t really cover - give me examples / return values - so posting here
I have a model application which has a has one relationship with applicant. The applicant has a belongs to relationship with application.
The application table has an applicant_id column and the applicant table has an application_id column
I’m trying to write a seeder which when creating the applicant maintains the relationship. I’ve seen that I should use for() to create the applicant but then I’m not sure what to put in the applicant factory to make the application id
Thanks for any help you can offer