How to set belongs to for multiple fields to the same table

Thank you all. I already found a solution in this post Belongs_to, multiple foreign keys?

1 Like