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( ))->addSubcommand('update', array(
'help' => __d('cake_console', 'Alter the tables based on the schema file.'), 'help' => __d('cake_console', 'Alter the tables based on the schema file.'),
'parser' => array( 'parser' => array(
'options' => compact('plugin', 'path', 'file', 'name', 'connection', 'dry', 'snapshot'), 'options' => compact('plugin', 'path', 'file', 'name', 'connection', 'dry', 'snapshot', 'force'),
'args' => array( 'args' => array(
'name' => array( 'name' => array(
'help' => __d('cake_console', 'Name of schema to use.') 'help' => __d('cake_console', 'Name of schema to use.')
@ -535,4 +535,4 @@ class SchemaShell extends AppShell {
)); ));
return $parser; return $parser;
} }
} }