mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-07 18:14:35 +00:00
UseDoctrineMigrationServiceProvider
This commit is contained in:
@@ -22,6 +22,7 @@ use Alchemy\Phrasea\Command\Setup\Install;
|
|||||||
use Alchemy\Phrasea\Command\Setup\PluginsReset;
|
use Alchemy\Phrasea\Command\Setup\PluginsReset;
|
||||||
use Alchemy\Phrasea\CLI;
|
use Alchemy\Phrasea\CLI;
|
||||||
use Alchemy\Phrasea\Command\Setup\CheckEnvironment;
|
use Alchemy\Phrasea\Command\Setup\CheckEnvironment;
|
||||||
|
use Alchemy\Phrasea\Core\CLIProvider\DoctrineMigrationServiceProvider;
|
||||||
|
|
||||||
require_once __DIR__ . '/../vendor/autoload.php';
|
require_once __DIR__ . '/../vendor/autoload.php';
|
||||||
|
|
||||||
@@ -45,6 +46,9 @@ $app = new CLI("
|
|||||||
under certain conditions; type `about:license' for details.\n\n"
|
under certain conditions; type `about:license' for details.\n\n"
|
||||||
. ' SETUP', Version::getName() . ' ' . Version::getNumber());
|
. ' SETUP', Version::getName() . ' ' . Version::getNumber());
|
||||||
|
|
||||||
|
|
||||||
|
$app->register(new DoctrineMigrationServiceProvider());
|
||||||
|
|
||||||
$app->command(new \module_console_aboutAuthors('about:authors'));
|
$app->command(new \module_console_aboutAuthors('about:authors'));
|
||||||
$app->command(new \module_console_aboutLicense('about:license'));
|
$app->command(new \module_console_aboutLicense('about:license'));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user