You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: src/Automatorm/Exception/Model.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -67,8 +67,8 @@ private function make_message($code, $data)
67
67
return'Property "'.$column.'" represents a list of objects that have a foreign key that refers to this object. To change this, you must update those objects - you cannot alter this relationship from here.';
68
68
69
69
case'MODEL_DATA:UNEXPECTED_COLUMN_NAME':
70
-
list($column, $value, $model) = $data;
71
-
return'Property "'.$column.'" does not exist in the schema for this object. Please check the $model for this object, ot look at $obj->var_dump()';
70
+
list($model, $column, $value) = $data;
71
+
return'Property "'.$column.'" does not exist in the schema for this object ('.$model->table_name.'). Please check the $model for this object, or look at $obj->var_dump()';
0 commit comments