| 1 | <?php |
||
| 5 | class Tables extends Base |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Command name. |
||
| 9 | * |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $name = 'tracker:tables'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Command description. |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $description = 'Create the migrations for Tracker database tables and columns'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Execute the command (Compatibility with Laravel 5.5). |
||
| 23 | * |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | public function handle() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Execute the command. |
||
| 33 | * |
||
| 34 | * @return void |
||
| 35 | */ |
||
| 36 | public function fire() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Get the package migrations folder. |
||
| 57 | * |
||
| 58 | * @return string |
||
| 59 | */ |
||
| 60 | protected function getPackageMigrationsPath() |
||
| 66 | |||
| 67 | /** |
||
| 68 | * Get the system migrations folder. |
||
| 69 | * |
||
| 70 | * @return string |
||
| 71 | */ |
||
| 72 | protected function getBaseMigrationsPath() |
||
| 82 | |||
| 83 | /** |
||
| 84 | * Make a full path migration name. |
||
| 85 | * |
||
| 86 | * @param $file |
||
| 87 | * |
||
| 88 | * @return string |
||
| 89 | */ |
||
| 90 | private function makeMigrationPath($file) |
||
| 94 | } |
||
| 95 |