| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | trait MigrationsHelper |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Get the migrations in /database/migrations. |
||
| 14 | * |
||
| 15 | * @return array Array of migrations name, empty if no migrations are existing |
||
| 16 | */ |
||
| 17 | public function getMigrations() |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get the migrations that have already been ran. |
||
| 26 | * |
||
| 27 | * @return \Illuminate\Support\Collection List of migrations |
||
| 28 | */ |
||
| 29 | public function getExecutedMigrations() |
||
| 35 |