Commit d1ec2a02 by Alexander Makarov

Better naming for Schema properties

parent 2aa55556
......@@ -74,8 +74,9 @@ abstract class Schema extends Object
/**
* @var array map of DB errors and corresponding exceptions
* If left part is found in DB error message exception class from the right part is used.
*/
public $errorMap = [
public $exceptionMap = [
'SQLSTATE[23' => '\yii\db\IntegrityException',
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment