diff --git a/lib/Doctrine/Migrations/Tools/Console/Command/DiffCommand.php b/lib/Doctrine/Migrations/Tools/Console/Command/DiffCommand.php index 6fe59a986c..b02dc234f5 100644 --- a/lib/Doctrine/Migrations/Tools/Console/Command/DiffCommand.php +++ b/lib/Doctrine/Migrations/Tools/Console/Command/DiffCommand.php @@ -34,6 +34,7 @@ protected function configure() : void $this ->setName('migrations:diff') + ->setAliases(['diff']) ->setDescription('Generate a migration by comparing your current database to your mapping information.') ->setHelp(<<%command.name% command generates a migration by comparing your current database to your mapping information: diff --git a/lib/Doctrine/Migrations/Tools/Console/Command/ExecuteCommand.php b/lib/Doctrine/Migrations/Tools/Console/Command/ExecuteCommand.php index 637f31a3c0..6f32e35f17 100644 --- a/lib/Doctrine/Migrations/Tools/Console/Command/ExecuteCommand.php +++ b/lib/Doctrine/Migrations/Tools/Console/Command/ExecuteCommand.php @@ -17,6 +17,7 @@ protected function configure() : void { $this ->setName('migrations:execute') + ->setAliases(['execute']) ->setDescription( 'Execute a single migration version up or down manually.' ) diff --git a/lib/Doctrine/Migrations/Tools/Console/Command/GenerateCommand.php b/lib/Doctrine/Migrations/Tools/Console/Command/GenerateCommand.php index e1dd2c6ec0..d19ef027a7 100644 --- a/lib/Doctrine/Migrations/Tools/Console/Command/GenerateCommand.php +++ b/lib/Doctrine/Migrations/Tools/Console/Command/GenerateCommand.php @@ -17,6 +17,7 @@ protected function configure() : void { $this ->setName('migrations:generate') + ->setAliases(['generate']) ->setDescription('Generate a blank migration class.') ->addOption( 'editor-cmd', diff --git a/lib/Doctrine/Migrations/Tools/Console/Command/LatestCommand.php b/lib/Doctrine/Migrations/Tools/Console/Command/LatestCommand.php index dee6e42d38..ac4782a541 100644 --- a/lib/Doctrine/Migrations/Tools/Console/Command/LatestCommand.php +++ b/lib/Doctrine/Migrations/Tools/Console/Command/LatestCommand.php @@ -14,6 +14,7 @@ protected function configure() : void { $this ->setName('migrations:latest') + ->setAliases(['latest']) ->setDescription('Outputs the latest version number') ; diff --git a/lib/Doctrine/Migrations/Tools/Console/Command/MigrateCommand.php b/lib/Doctrine/Migrations/Tools/Console/Command/MigrateCommand.php index 4786f64467..279548d916 100644 --- a/lib/Doctrine/Migrations/Tools/Console/Command/MigrateCommand.php +++ b/lib/Doctrine/Migrations/Tools/Console/Command/MigrateCommand.php @@ -21,6 +21,7 @@ protected function configure() : void { $this ->setName('migrations:migrate') + ->setAliases(['migrate']) ->setDescription( 'Execute a migration to a specified version or the latest available version.' ) diff --git a/lib/Doctrine/Migrations/Tools/Console/Command/StatusCommand.php b/lib/Doctrine/Migrations/Tools/Console/Command/StatusCommand.php index e3a9e081a3..da6a9fcd0d 100644 --- a/lib/Doctrine/Migrations/Tools/Console/Command/StatusCommand.php +++ b/lib/Doctrine/Migrations/Tools/Console/Command/StatusCommand.php @@ -21,6 +21,7 @@ protected function configure() : void { $this ->setName('migrations:status') + ->setAliases(['status']) ->setDescription('View the status of a set of migrations.') ->addOption( 'show-versions', diff --git a/lib/Doctrine/Migrations/Tools/Console/Command/UpToDateCommand.php b/lib/Doctrine/Migrations/Tools/Console/Command/UpToDateCommand.php index ab5b37b0f6..c79675dc5a 100644 --- a/lib/Doctrine/Migrations/Tools/Console/Command/UpToDateCommand.php +++ b/lib/Doctrine/Migrations/Tools/Console/Command/UpToDateCommand.php @@ -15,6 +15,7 @@ protected function configure() : void { $this ->setName('migrations:up-to-date') + ->setAliases(['up-to-date']) ->setDescription('Tells you if your schema is up-to-date.') ->setHelp(<<%command.name% command tells you if your schema is up-to-date: diff --git a/lib/Doctrine/Migrations/Tools/Console/Command/VersionCommand.php b/lib/Doctrine/Migrations/Tools/Console/Command/VersionCommand.php index d209fada0a..9b91424090 100644 --- a/lib/Doctrine/Migrations/Tools/Console/Command/VersionCommand.php +++ b/lib/Doctrine/Migrations/Tools/Console/Command/VersionCommand.php @@ -21,6 +21,7 @@ protected function configure() : void { $this ->setName('migrations:version') + ->setAliases(['version']) ->setDescription('Manually add and delete migration versions from the version table.') ->addArgument( 'version',