Questions tagged with itself

2 answers

0 votes

Asked by sebb86, on 5/1/10 in

How to create a relationship/association from one table/model to itself?

Hello,

how can i create a relationship from one model to itself?

In my case, i have a model "ports" with primary key "id" and foreign key "uplink_id".

Thanks if someone can help.

Greetings :)

<< previous next >>