Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | protected function getMigrationFileName(Filesystem $filesystem) |
||
31 | { |
||
32 | $timestamp = date('Y_m_d_His'); |
||
33 | |||
34 | return Collection::make($this->app->databasePath() . DIRECTORY_SEPARATOR . 'migrations' . DIRECTORY_SEPARATOR) |
||
35 | ->flatMap(function ($path) use ($filesystem) { |
||
36 | return $filesystem->glob($path . '*_create_wallet_plus_tables.php'); |
||
37 | })->push($this->app->databasePath() . "/migrations/{$timestamp}_create_wallet_plus_tables.php") |
||
38 | ->first(); |
||
39 | } |
||
40 | } |
||
41 |