So in my DB, I have a table that references itself.
Meaning the table has a column defined as "parent_id" and that column references rows within the same table.
What kind of Foreign key setup do I need on the DB end for Yii to be happy? I currently have no foreign keys setup for this column and I get errors like:
The relation "parent" in active record class "Page" is specified with an invalid foreign key. The format of the foreign key must be "joinTable(fk1,fk2,...)".
with any type of flag I pass it in the relations function: