creocoder / yii2-nested-sets

The nested sets behavior for the Yii framework.
Other
446 stars 129 forks source link

How about allowing to modify the id attribute? #50

Closed ptheofan closed 9 years ago

ptheofan commented 9 years ago

Hey mate, I see you're going a nice way allowing people to modify specific column names. How about allowing to modify and configure the id attribute? For example, I would love to change it to id_xxxxxx to match the rest of the schema.

Cheers, P.

creocoder commented 9 years ago

@ptheofan Hi, you can use any primary key field name without any troubles and without reconfiguring behavior.