Crud With Composed Primary Key

Hello,

I’m getting started with yii and have come to a problem with the CRUD.

I have a table whith a composed primary key, so I can’t create a CRUD.

Is there a better solution than adding a field specially for the key?

Thanks a lot for the help =)

Check your table, is there any empty space in the feild,

No there wasn’t, but my friend using yii told me that is was normal that we can’t use CRUD with composed primary key, so I’ve created a field for the id…

giix supports

see this link http://www.yiiframework.com/extension/giix

and please visit these links for help

http://www.yiiframework.com/forum/index.php/topic/34584-crud-generator-with-composite-primary/

http://www.yiiframework.com/forum/index.php/topic/6863-composite-primary-key-not-supported-by-crud-command/

http://www.yiiframework.com/forum/index.php/topic/17131-support-of-composite-key-by-yii-crud/