Link to edit hasOne record from parent model
I have 2 models, Patient and HealthRecord. Patient has on HealthRecord (1-to-1 relation). When a Patient record is created, an empty HealthRecord also created in the background. Now can I open that HealthRecord to edit the data ? I need a link from Patient Table to edit the Patient's HealthReocrd
1 Reply
just build a relationship onto the model?