From a3b094f3abaa9e27b411a10b0fdccf8063dcef23 Mon Sep 17 00:00:00 2001 From: atehnix Date: Fri, 18 Oct 2019 23:01:54 +0300 Subject: [PATCH] Remove old registration of make:migration --- src/Providers/ArtisanServiceProvider.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/Providers/ArtisanServiceProvider.php b/src/Providers/ArtisanServiceProvider.php index 7b3c57b..1b446de 100644 --- a/src/Providers/ArtisanServiceProvider.php +++ b/src/Providers/ArtisanServiceProvider.php @@ -31,8 +31,6 @@ use ATehnix\LaravelStubs\Console\SeederMakeCommand; use ATehnix\LaravelStubs\Console\StubsPublishCommand; use ATehnix\LaravelStubs\Console\TestMakeCommand; -use ATehnix\LaravelStubs\Database\MigrationCreator; -use Illuminate\Database\Console\Migrations\MigrateMakeCommand; use Illuminate\Foundation\Providers\ArtisanServiceProvider as BaseServiceProvider; class ArtisanServiceProvider extends BaseServiceProvider @@ -286,19 +284,4 @@ protected function registerPolicyMakeCommand() return new PolicyMakeCommand($app['files']); }); } - - /** - * Register the command. - * - * @return void - */ - protected function registerMigrateMakeCommand() - { - $this->app->singleton('command.migrate.make', function ($app) { - $creator = $app[MigrationCreator::class]; - $composer = $app['composer']; - - return new MigrateMakeCommand($creator, $composer); - }); - } }