1<?php
2
3// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
4// See the LICENCE file in the repository root for full licence text.
5
6namespace App\Providers;
7
8use App\Console\Commands\MigrateFreshAllCommand;
9use Illuminate\Support\ServiceProvider;
10
11class MigrationServiceProvider extends ServiceProvider
12{
13 /**
14 * Register the service provider.
15 *
16 * @return void
17 */
18 public function register()
19 {
20 $this->app->extend('command.migrate.fresh', function () {
21 return new MigrateFreshAllCommand();
22 });
23 }
24}