Skip to content

Commit

Permalink
Update DDEV import-db options.
Browse files Browse the repository at this point in the history
Previous versions are deprecated.
  • Loading branch information
markdorison committed Sep 27, 2023
1 parent 8c6d485 commit 8653751
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Robo/Plugin/Commands/DevelopmentModeBaseCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public function databaseRefreshDdev(string $siteName = 'default'): Result
$this->say("Importing $dbPath");
$this->taskExec('ddev')
->arg('import-db')
->option('target-db', $siteName == 'default' ? 'db' : $siteName)
->option('src', $dbPath)
->option('database', $siteName == 'default' ? 'db' : $siteName)
->option('file', $dbPath)
->run();

$this->say("Deleting $dbPath");
Expand Down

0 comments on commit 8653751

Please sign in to comment.