Get DB unique indexes information

See https://github.com/yiisoft/yii2/pull/1599 discussion