yiisoft/yii — pull request #1205 by edisnake (2012-08-11 03:37:38+00:00)
Title: Allow the cruds generation for tables with composite primary keys

Modifications to allow the cruds generation for tables with composite primary keys. It adds functionality (new feature) to allow the creation of cruds of all tables with models created using the * character as well as in the model builder. Creation of GeneralModel class who extends from CActiveRecord and delivers general methods who make easy view, update and insert data in database tables with composite primary keys. The GeneralModel class also makes easy to implement drop down lists for parameter tables. Finally i did improvement for CPgsqlColumnSchema class for recognize numeric database type