| Conditions | 3 |
| Paths | 4 |
| Total Lines | 18 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 40 | public function handle() |
||
| 41 | { |
||
| 42 | $this->info("Removing original User code."); |
||
| 43 | $f = base_path('app/User.php'); |
||
|
|
|||
| 44 | if (file_exists($f)) { |
||
| 45 | unlink($f); |
||
| 46 | } |
||
| 47 | $f = base_path('database/migrations/2014_10_12_000000_create_users_table.php'); |
||
| 48 | if (file_exists($f)) { |
||
| 49 | unlink($f); |
||
| 50 | } |
||
| 51 | |||
| 52 | $this->call('vendor:publish', [ |
||
| 53 | '--provider' => "Modelarium\\Laravel\\ServiceProvider", |
||
| 54 | '--tag' => "schema" |
||
| 55 | ]); |
||
| 56 | |||
| 57 | $this->info("Setup done."); |
||
| 58 | } |
||
| 60 |