Skip to content

Commit 54f7b92

Browse files
author
Eelco Dam
committed
Might be saver to pass an array to the rollback() method
1 parent 69420e3 commit 54f7b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/Commands/RollbackMigrateData.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ public function handle()
6565

6666
protected function getMigrationPath()
6767
{
68-
return $this->laravel->databasePath().DIRECTORY_SEPARATOR.'data-migrations';
68+
return [$this->laravel->databasePath().DIRECTORY_SEPARATOR.'data-migrations'];
6969
}
7070
}

0 commit comments

Comments
 (0)