From e712352ed6e2efa3c309fa6058367cc711c9d0b6 Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Tue, 28 Jul 2026 12:59:23 +0000 Subject: [PATCH] Fix utilities app portal category to match auth/src/db.js ('Hotel') MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Was seeded as 'Operations' here, drifting from the auth service's seed which uses 'Hotel' — both ON CONFLICT-update the same column, so whichever ran last silently changed the portal grouping. Co-Authored-By: Claude Sonnet 5 --- install-stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-stack.sh b/install-stack.sh index f1e9432..1349379 100755 --- a/install-stack.sh +++ b/install-stack.sh @@ -1689,7 +1689,7 @@ ${build_out}" msg_info "Seeding utilities into auth DB" pct exec 100 -- docker exec hotel-manage-postgres psql -U postgres -d auth_db -c " INSERT INTO apps (slug, name, description, base_path, icon, theme_color, category, internal_host, internal_port) - VALUES ('utilities', 'Utilities', 'Meter readings, tariffs and energy cost tracking', '/utilities', 'Zap', '#1e6091', 'Operations', '10.10.10.127', 3080) + VALUES ('utilities', 'Utilities', 'Meter readings, tariffs and energy cost tracking', '/utilities', 'Zap', '#1e6091', 'Hotel', '10.10.10.127', 3080) ON CONFLICT (slug) DO UPDATE SET name=EXCLUDED.name, description=EXCLUDED.description, base_path=EXCLUDED.base_path, icon=EXCLUDED.icon, theme_color=EXCLUDED.theme_color, category=EXCLUDED.category,