Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

display offending model and column

  • Loading branch information...
commit a02fd82db2a25b67c6a65d16ce3c8dbcf7ac8e95 1 parent fb4a003
@rchavik rchavik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Model/CakeSchema.php
View
2  lib/Cake/Model/CakeSchema.php
@@ -590,7 +590,7 @@ protected function _columns(&$Obj) {
$value['key'] = 'primary';
}
if (!isset($db->columns[$value['type']])) {
- trigger_error(__d('cake_dev', 'Schema generation error: invalid column type %s does not exist in DBO', $value['type']), E_USER_NOTICE);
+ trigger_error(__d('cake_dev', 'Schema generation error: invalid column type %s for %s.%s does not exist in DBO', $value['type'], $Obj->name, $name), E_USER_NOTICE);
continue;
} else {
$defaultCol = $db->columns[$value['type']];
Please sign in to comment.
Something went wrong with that request. Please try again.