If I have a model, lets call it
Comments which has two foreign keys
I can save the
user relationship with
However to save the
post relationship, I can only think that I would have to first set the post_id field manually then save the record
comment.post_id = post_id await user.comments().save(comment)
Is this the way I should do it, or am I missing something?