protected function checkSchemaUpdate(InputInterface $input, OutputInterface $output, QuestionHelper $questionHelper, $deployData)
    {
        $question = new Question('<info>Update database schema</info> [<comment>yes</comment>]: ', 'yes');
        $question->setAutocompleterValues(['yes', 'no']);
        $wantDump = $questionHelper->ask($input, $output, $question);
        $deployData['schemadb'] = $wantDump == 'yes' ? true : false;

        return $deployData['schemadb'];
    }
protected function checkSchemaUpdate(InputInterface $input, OutputInterface $output, QuestionHelper $questionHelper, $deployData)
    {
        $question = new Question('<info>Update database schema</info> [<comment>yes</comment>]: ', 'yes');
        $question->setAutocompleterValues(['yes', 'no']);
        $wantDump = $questionHelper->ask($input, $output, $question);
        $deployData['schemadb'] = $wantDump == 'yes' ? true : false;

        return $deployData['schemadb'];
    }
protected function checkSchemaUpdate ( InputInterface $ input , OutputInterface $ output , QuestionHelper $ questionHelper , $ deployData ) { $ question = new Question ( '<info>Update database schema</info> [<comment>yes</comment>]: ' , 'yes' ) ; $ question -> setAutocompleterValues ( [ 'yes' , 'no' ] ) ; $ wantDump = $ questionHelper -> ask ( $ input , $ output , $ question ) ; $ deployData [ 'schemadb' ] = $ wantDump == 'yes' ? true : false ; return $ deployData [ 'schemadb' ] ; }
Check for database schema update.

@param InputInterface  $input
@param OutputInterface $output
@param QuestionHelper  $questionHelper
@param array           $deployData

@return bool
Check for database schema update .