| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 19 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 30 | public function handle(): void  | 
            ||
| 31 |     { | 
            ||
| 32 | $this->alert($this->description);  | 
            ||
| 33 | |||
| 34 |         $path = config('rinvex.statistics.autoload_migrations') ? | 
            ||
| 35 | 'vendor/rinvex/laravel-statistics/database/migrations' :  | 
            ||
| 36 | 'database/migrations/rinvex/laravel-statistics';  | 
            ||
| 37 | |||
| 38 |         if (file_exists($path)) { | 
            ||
| 39 |             $this->call('migrate:reset', [ | 
            ||
| 40 | '--path' => $path,  | 
            ||
| 41 |                 '--force' => $this->option('force'), | 
            ||
| 42 | ]);  | 
            ||
| 43 |         } else { | 
            ||
| 44 |             $this->warn('No migrations found! Consider publish them first: <fg=green>php artisan rinvex:publish:statistics</>'); | 
            ||
| 45 | }  | 
            ||
| 46 | |||
| 47 |         $this->line(''); | 
            ||
| 48 | }  | 
            ||
| 49 | }  | 
            ||
| 50 |