| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class DatabaseMigration extends Command |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * The name and signature of the console command. |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $signature = 'database:migrate'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The console command description. |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $description = 'migrate from old hustoj'; |
||
| 30 | |||
| 31 | private $commands = [ |
||
| 32 | UserMigration::class, |
||
| 33 | ProblemMigration::class, |
||
| 34 | ContestMigration::class, |
||
| 35 | SolutionMigration::class, |
||
| 36 | TopicMigration::class, |
||
| 37 | ArticleMigration::class, |
||
| 38 | LoginLogMigration::class, |
||
| 39 | OptionMigration::class, |
||
| 40 | ]; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Execute the console command. |
||
| 44 | */ |
||
| 45 | public function handle() |
||
| 52 |