Skip to content

Commit 8e849cb

Browse files
committed
Merge branch 'develop'
2 parents 4192af4 + a49fbdb commit 8e849cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelCrmServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ protected function routeConfiguration()
209209
*/
210210
protected function getMigrationFileName(Filesystem $filesystem, $filename, $order): string
211211
{
212-
$timestamp = date('Y_m_d_Hi').(date('s') + $order);
212+
$timestamp = date('Y_m_d_His', strtotime("+$order sec"));
213213

214214
return Collection::make($this->app->databasePath().DIRECTORY_SEPARATOR.'migrations'.DIRECTORY_SEPARATOR)
215215
->flatMap(function ($path) use ($filesystem, $filename) {

0 commit comments

Comments
 (0)