unoverse 0.1.40 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/operator/lib/init.sh +3 -1
- package/package.json +1 -1
package/operator/lib/init.sh
CHANGED
|
@@ -411,7 +411,9 @@ ENVEOF
|
|
|
411
411
|
# sourced function would take all of init with it — setup then reported failure for a
|
|
412
412
|
# situation that just means "migrations run on start". Which they now do (start.sh).
|
|
413
413
|
if grep -q '^DATABASE_URL=' "$ROOT/.env" 2>/dev/null; then
|
|
414
|
-
|
|
414
|
+
# Quietly: db-setup narrates its own advice ("start services first, then re-run"),
|
|
415
|
+
# which contradicts and duplicates the one line that is true here.
|
|
416
|
+
if (cmd_db_setup) >/dev/null 2>&1; then
|
|
415
417
|
ok "Database schema is up to date"
|
|
416
418
|
else
|
|
417
419
|
info "Migrations wait for the platform: ${BOLD}unoverse start${NC} applies them once services are up"
|
package/package.json
CHANGED