Skip to content

Commit

Permalink
Drop the generate:migration command (#2686)
Browse files Browse the repository at this point in the history
Core source code should contain things necessary for core to run. Development tooling like this belongs in external packages, like the upcoming Flarum CLI.
  • Loading branch information
askvortsov1 authored Mar 16, 2021
1 parent 23e0e0c commit 68daa49
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 303 deletions.
4 changes: 0 additions & 4 deletions .styleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ disabled:
- phpdoc_order
- phpdoc_separation
- phpdoc_types

finder:
exclude:
- "stubs"
2 changes: 0 additions & 2 deletions src/Console/ConsoleServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

namespace Flarum\Console;

use Flarum\Database\Console\GenerateMigrationCommand;
use Flarum\Database\Console\MigrateCommand;
use Flarum\Database\Console\ResetCommand;
use Flarum\Foundation\AbstractServiceProvider;
Expand All @@ -26,7 +25,6 @@ public function register()
$this->container->singleton('flarum.console.commands', function () {
return [
CacheClearCommand::class,
GenerateMigrationCommand::class,
InfoCommand::class,
MigrateCommand::class,
ResetCommand::class,
Expand Down
104 changes: 0 additions & 104 deletions src/Database/Console/GenerateMigrationCommand.php

This file was deleted.

146 changes: 0 additions & 146 deletions src/Database/MigrationCreator.php

This file was deleted.

13 changes: 0 additions & 13 deletions stubs/migrations/blank.stub

This file was deleted.

16 changes: 0 additions & 16 deletions stubs/migrations/create.stub

This file was deleted.

18 changes: 0 additions & 18 deletions stubs/migrations/update.stub

This file was deleted.

0 comments on commit 68daa49

Please sign in to comment.