I 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. What should I do? Thank you so much
Here is my picture
Try updating your model class after giving primary key.