diff --git a/src/Command/Pull/PullCommandBase.php b/src/Command/Pull/PullCommandBase.php index ce18ba740..d6f8531ae 100644 --- a/src/Command/Pull/PullCommandBase.php +++ b/src/Command/Pull/PullCommandBase.php @@ -554,7 +554,7 @@ private function printDatabaseBackupInfo( } private function importRemoteDatabase(DatabaseResponse $database, string $localFilepath, Closure $outputCallback = NULL): void { - if ($database->flags->default) { + if ($database->flags->default || getenv('IS_LOCAL')) { // Easy case, import the default db into the default db. $this->doImportRemoteDatabase($this->getLocalDbHost(), $this->getLocalDbUser(), $this->getLocalDbName(), $this->getLocalDbPassword(), $localFilepath, $outputCallback); }