cmd(upgrade): fix force and seed flags being ignored
This commit is contained in:
parent
b19a1640f0
commit
d9740fff65
1 changed files with 3 additions and 3 deletions
|
@ -150,8 +150,8 @@ class UpgradeCommand extends Command
|
||||||
});
|
});
|
||||||
|
|
||||||
$this->withProgress($bar, function () {
|
$this->withProgress($bar, function () {
|
||||||
$this->line('$upgrader> php artisan migrate --seed --force');
|
$this->line('$upgrader> php artisan migrate --force --seed');
|
||||||
$this->call('migrate', ['--seed' => '', '--force' => '']);
|
$this->call('migrate', ['--force' => true, '--seed' => true]);
|
||||||
});
|
});
|
||||||
|
|
||||||
$this->withProgress($bar, function () use ($user, $group) {
|
$this->withProgress($bar, function () use ($user, $group) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue