@@ -69,6 +69,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
6969 $ dbUserPasswordQuestion = new Question ("Please enter the database user password (if needed): " , "~ " );
7070 $ dbUserPassword = $ questions ->ask ($ input , $ output , $ dbUserPasswordQuestion );
7171
72+ $ dbCharsetQuestion = new Question ("Please enter the database charset (if needed): " , "~ " );
73+ $ dbCharset = $ questions ->ask ($ input , $ output , $ dbCharsetQuestion );
74+
7275 $ changelogTableQuestion = new Question ("Please enter the changelog table <info>(default changelog)</info>: " , "changelog " );
7376 $ changelogTable = $ questions ->ask ($ input , $ output , $ changelogTableQuestion );
7477
@@ -82,6 +85,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
8285 $ confTemplate = str_replace ('{USERNAME} ' , $ dbUserName , $ confTemplate );
8386 $ confTemplate = str_replace ('{PASSWORD} ' , $ dbUserPassword , $ confTemplate );
8487 $ confTemplate = str_replace ('{DATABASE} ' , $ dbName , $ confTemplate );
88+ $ confTemplate = str_replace ('{CHARSET} ' , $ dbCharset , $ confTemplate );
8589 $ confTemplate = str_replace ('{CHANGELOG} ' , $ changelogTable , $ confTemplate );
8690 $ confTemplate = str_replace ('{EDITOR} ' , $ defaultEditor , $ confTemplate );
8791
0 commit comments