Press "Enter" to skip to content

Yii2 – Validation Case Sensitive on PostgreSQL

0

Last updated on 18 Feb 2018

Yii2 – Validation Case Sensitive on PostgreSQL

First

Insert code below in your Model

 

 

and insert code below in rules function

 

You can also using filter, e.g: