Merge pull request #395 from sime/2.0

schema update fails on -f flag
This commit is contained in:
Renan Gonçalves aka renan.saddam 2012-01-05 02:05:25 -08:00
commit edf37e7503

View file

@ -522,7 +522,7 @@ class SchemaShell extends AppShell {
))->addSubcommand('update', array(
'help' => __d('cake_console', 'Alter the tables based on the schema file.'),
'parser' => array(
'options' => compact('plugin', 'path', 'file', 'name', 'connection', 'dry', 'snapshot'),
'options' => compact('plugin', 'path', 'file', 'name', 'connection', 'dry', 'snapshot', 'force'),
'args' => array(
'name' => array(
'help' => __d('cake_console', 'Name of schema to use.')