Skip to content

Commit d745b40

Browse files
markdorisonapotek
andauthored
Update DDEV import-db options. (#167)
Co-authored-by: K Widholm <279278+apotek@users.noreply.github.com>
1 parent 45d27bd commit d745b40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Robo/Plugin/Commands/DevelopmentModeBaseCommands.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ public function databaseRefreshDdev(string $siteName = 'default'): Result
7878
$this->say("Importing $dbPath");
7979
$this->taskExec('ddev')
8080
->arg('import-db')
81-
->option('target-db', $siteName == 'default' ? 'db' : $siteName)
82-
->option('src', $dbPath)
81+
->option('database', $siteName == 'default' ? 'db' : $siteName)
82+
->option('file', $dbPath)
8383
->run();
8484

8585
$this->say("Deleting $dbPath");

0 commit comments

Comments
 (0)