Composite Primary Keys


I know, from reading this:

that Yii officially supports composite primary keys in the database scheme.

My question is whether this approach implies many drawbacks within the framework? Is all the logic prepared for this, or does it work more like an hack?

Composite primary keys work fine. Active record handles them consistently if that’s what you’re asking.