Unique Rule Is Not Generated By Gii

according to

https://code.google.com/p/yii/issues/detail?id=3111

gii model genrator does not generates unique rule

many times I forget to insert manually this rule and Ι note it later in production mode!

So, I think it is important to include in new yii version.

does any one knows if it is included in ver 1.1.14 or yii 2 ?

Thanks!

Good question. I can tell you that it is not generated for me in v. 1.1.14. I don’t know about Yii 2.