title: why cant I generate with gii in Yii2?
body: <p>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</p>
  
  <p>Here is my picture
  <img src="https://i.stack.imgur.com/Vk9pT.png" alt="enter image description here"></p>