An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(database): adjust MongoDB restore command and import view styling
Andras Bacsai1ec15af1ad7c
diff --git a/app/Livewire/Project/Database/Import.php b/app/Livewire/Project/Database/Import.phpindex dc330b3af8..eb80ca6f6f 100644--- a/app/Livewire/Project/Database/Import.php+++ b/app/Livewire/Project/Database/Import.php@@ -221,7 +221,7 @@ EOD;case \App\Models\StandaloneMongodb::class:$restoreCommand = $this->mongodbRestoreCommand;if ($this->dumpAll === false) {- $restoreCommand .= " {$tmpPath}";+ $restoreCommand .= "{$tmpPath}";}break;}diff --git a/resources/views/livewire/project/database/import.blade.php b/resources/views/livewire/project/database/import.blade.phpindex 37c1d4eb54..ec5472ac42 100644--- a/resources/views/livewire/project/database/import.blade.php+++ b/resources/views/livewire/project/database/import.blade.php@@ -40,7 +40,7 @@@if ($unsupported)<div>Database restore is not supported.</div>@else- <div class="mt-2 mb-4 rounded alert-error">+ <div class="pt-2 rounded alert-error"><svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 stroke-current shrink-0" fill="none"viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"