Skip to content

Commit

Permalink
add table prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 2, 2021
1 parent 334b0a9 commit 4ffe40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Console/DumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function handle(ConnectionResolverInterface $connections, Dispatcher $dis
protected function schemaState(Connection $connection)
{
return $connection->getSchemaState()
->withMigrationTable(Config::get('database.migrations', 'migrations'))
->withMigrationTable($connection->getTablePrefix().Config::get('database.migrations', 'migrations'))
->handleOutputUsing(function ($type, $buffer) {
$this->output->write($buffer);
});
Expand Down

0 comments on commit 4ffe40f

Please sign in to comment.