yii: how to make a unique rule for two attributes
Asked 07 September, 2021
Viewed 2.2K times
  • 62
Votes

I have a table like this: (id, name, version, text). (name, version) is unique key, how can i make a rule to validate this.

8 Answer