Move hvac and utilities into Hotel sidebar category
They're not day-to-day operational apps, so group them separately from Operations.
This commit is contained in:
parent
f626ee1e69
commit
e612ce7c64
1 changed files with 2 additions and 2 deletions
|
|
@ -387,7 +387,7 @@ export async function initDb() {
|
||||||
// Seed utilities app + capabilities (no default Staff grants — admin assigns via portal)
|
// Seed utilities app + capabilities (no default Staff grants — admin assigns via portal)
|
||||||
await pool.query(`
|
await pool.query(`
|
||||||
INSERT INTO apps (slug, name, description, base_path, icon, theme_color, category, internal_host, internal_port)
|
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
|
ON CONFLICT (slug) DO UPDATE SET
|
||||||
name = EXCLUDED.name,
|
name = EXCLUDED.name,
|
||||||
description = EXCLUDED.description,
|
description = EXCLUDED.description,
|
||||||
|
|
@ -422,7 +422,7 @@ export async function initDb() {
|
||||||
// LXC 128 — 127 was already claimed by 'utilities' by the time this was built.
|
// LXC 128 — 127 was already claimed by 'utilities' by the time this was built.
|
||||||
await pool.query(`
|
await pool.query(`
|
||||||
INSERT INTO apps (slug, name, description, base_path, icon, theme_color, category, internal_host, internal_port)
|
INSERT INTO apps (slug, name, description, base_path, icon, theme_color, category, internal_host, internal_port)
|
||||||
VALUES ('hvac', 'HVAC', 'Room heating control — NewBook-driven TRV scheduling, aircon and boiler (phased)', '/hvac', 'Thermometer', '#c1440e', 'Operations', '10.10.10.128', 3080)
|
VALUES ('hvac', 'HVAC', 'Room heating control — NewBook-driven TRV scheduling, aircon and boiler (phased)', '/hvac', 'Thermometer', '#c1440e', 'Hotel', '10.10.10.128', 3080)
|
||||||
ON CONFLICT (slug) DO UPDATE SET
|
ON CONFLICT (slug) DO UPDATE SET
|
||||||
name = EXCLUDED.name,
|
name = EXCLUDED.name,
|
||||||
description = EXCLUDED.description,
|
description = EXCLUDED.description,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue