Skip to content

Commit ca0bf63

Browse files
authored
Merge pull request #2143 from nWidart/add-migrator-fallback
set default value for migration table configuration key
2 parents 141518c + 021c2a8 commit ca0bf63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Migrations/Migrator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function requireFiles(array $files)
241241
*/
242242
public function table()
243243
{
244-
return $this->laravel['db']->connection($this->database ?: null)->table(config('database.migrations.table'));
244+
return $this->laravel['db']->connection($this->database ?: null)->table(config('database.migrations.table', 'migrations'));
245245
}
246246

247247
/**

0 commit comments

Comments
 (0)