Skip to content

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.

fix db-migration

Andras Bacsaic3cb5c7356b3
diff --git a/docker/prod-ssu/etc/s6-overlay/s6-rc.d/db-migration/up b/docker/prod-ssu/etc/s6-overlay/s6-rc.d/db-migration/up
index 8618a7e8c9..36ca6da391 100644
--- a/docker/prod-ssu/etc/s6-overlay/s6-rc.d/db-migration/up
+++ b/docker/prod-ssu/etc/s6-overlay/s6-rc.d/db-migration/up
@@ -1,7 +1,7 @@
#!/command/execlineb -P
VERSION=$(php bootstrap/getVersion.php)
-if echo "$VERSION" | grep -q "nightly"; then
+if [ echo "$VERSION" | grep -q "nightly" ]; then
php /var/www/html/artisan migrate:fresh --force
php /var/www/html/artisan db:seed --class ProductionSeeder --force
else