Errors should be output on stderr.

This commit is contained in:
mark_story 2011-09-30 21:56:57 -04:00
parent af4b0c9c1b
commit f4b2e03295

View file

@ -428,7 +428,7 @@ class SchemaShell extends Shell {
$Schema->after(array($event => $table, 'errors' => $error));
if (!empty($error)) {
$this->out($error);
$this->err($error);
} else {
$this->out(__d('cake_console', '%s updated.', $table));
}