From d55c96d8f3007f6f2c77448da982cdb6be8b994b Mon Sep 17 00:00:00 2001 From: Lukas Kahwe Smith Date: Fri, 1 May 2015 17:05:46 +0200 Subject: [PATCH] back port force option --- .../Tools/Console/Command/InitDoctrineDbalCommand.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Jackalope/Tools/Console/Command/InitDoctrineDbalCommand.php b/src/Jackalope/Tools/Console/Command/InitDoctrineDbalCommand.php index 3fc0a38b..5594d52d 100644 --- a/src/Jackalope/Tools/Console/Command/InitDoctrineDbalCommand.php +++ b/src/Jackalope/Tools/Console/Command/InitDoctrineDbalCommand.php @@ -30,6 +30,10 @@ protected function configure() ->setName('jackalope:init:dbal') ->setDescription('Prepare the database for Jackalope Doctrine-Dbal.') ->setDefinition(array( + new InputOption( + 'force', null, InputOption::VALUE_NONE, + 'Set this parameter to execute this action, starting with version 1.2 of Jackalope Doctrine DBAL.' + ), new InputOption( 'dump-sql', null, InputOption::VALUE_NONE, 'Instead of try to apply generated SQLs to the database, output them.'