Updated CreateDatabaseCommand to create the empty database if it does not exist

This commit is contained in:
Alejandro Celaya
2019-08-05 10:08:59 +02:00
parent 3916b06e7c
commit f78fa58cf1
7 changed files with 132 additions and 22 deletions

View File

@@ -3,6 +3,7 @@ declare(strict_types=1);
namespace Shlinkio\Shlink\CLI;
use Doctrine\DBAL\Connection;
use GeoIp2\Database\Reader;
use Shlinkio\Shlink\CLI\Util\GeolocationDbUpdater;
use Shlinkio\Shlink\Common\IpGeolocation\GeoLite2\DbUpdater;
@@ -83,6 +84,7 @@ return [
Locker::class,
SymfonyCli\Helper\ProcessHelper::class,
PhpExecutableFinder::class,
Connection::class,
],
],