Skip to content

Commit bad08c4

Browse files
authored
Revert "[6.x] migrate --seed should seed the same database (#31678)" (#31685)
This reverts commit 83f4410.
1 parent 7cb184f commit bad08c4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Illuminate/Database/Console/Migrations/MigrateCommand.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,7 @@ public function handle()
7575
// seed task to re-populate the database, which is convenient when adding
7676
// a migration and a seed at the same time, as it is only this command.
7777
if ($this->option('seed') && ! $this->option('pretend')) {
78-
$this->call('db:seed', array_filter([
79-
'--database' => $this->option('database'),
80-
'--force' => true,
81-
]));
78+
$this->call('db:seed', ['--force' => true]);
8279
}
8380
}
8481

0 commit comments

Comments
 (0)