From 8653751773402dbe7bf37fb8a0193b0d5a7b0a25 Mon Sep 17 00:00:00 2001 From: Mark Dorison Date: Wed, 27 Sep 2023 10:57:33 -0400 Subject: [PATCH] Update DDEV import-db options. Previous versions are deprecated. --- src/Robo/Plugin/Commands/DevelopmentModeBaseCommands.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Robo/Plugin/Commands/DevelopmentModeBaseCommands.php b/src/Robo/Plugin/Commands/DevelopmentModeBaseCommands.php index 31233d5..f2ac27b 100644 --- a/src/Robo/Plugin/Commands/DevelopmentModeBaseCommands.php +++ b/src/Robo/Plugin/Commands/DevelopmentModeBaseCommands.php @@ -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");