Why can't I create CRUD with GII in Yii2
问题 I have made the view table with function "join" in sql. but when I try to generate the view table with gii, it was said that "Table associated with Rangkuman must have primary key", and I have made primary key with table that associated with Rangkuman. But still be like this picture Here is Rangkuman model <?php namespace app\models; use Yii; /** * This is the model class for table "rangkuman". * * @property string $Fakultas * @property string $Departemen * @property string $KodeMayor *