added command to create release packages (for FTP user) (#642)

This commit is contained in:
Kevin Papst
2019-03-18 11:57:26 +01:00
committed by GitHub
parent bde791fa55
commit 50318a8fc5
5 changed files with 162 additions and 9 deletions

View File

@@ -49,6 +49,11 @@ EOT
{
$io = new SymfonyStyle($input, $output);
if (getenv('APP_ENV') === 'prod') {
$io->error('kimai:reset-dev is not allowed in production');
return -1;
}
if ($this->askConfirmation($input, $output, 'Do you want to create the database y/N ?')) {
try {
$command = $this->getApplication()->find('doctrine:database:create');