yiisoft/yii2 — pull request #3378 by samdark (2014-05-06 14:29:08+00:00)
Title: Database IntegrityException

Fixes #2435: `yii\db\IntegrityException` is now thrown on database integrity errors instead of general `yii\db\Exception`