Skip to content

Commit

Permalink
fix: migrate rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
jevantang committed Jul 26, 2024
1 parent a01ccc7 commit 98723ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/PluginMigrateRollbackCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function handle()
try {
$path = $plugin->getMigratePath();
if (glob("$path/*")) {
$exitCode = $this->call('migrate:reset', [
$exitCode = $this->call('migrate:rollback', [
'--database' => $this->option('database'),
'--force' => $this->option('force') ?? true,
'--path' => $plugin->getMigratePath(),
Expand Down

0 comments on commit 98723ef

Please sign in to comment.