-- ============================================================
-- Add Dashboard and Lobby Display PC Types and Applications
-- Run against production database
-- Date: 2026-01-14
-- ============================================================

-- Add new PC types
INSERT INTO pctype (typename, description, functionalaccountid, isactive, displayorder) VALUES
('Dashboard', 'Shopfloor dashboard display PC', 3, '1', 10),
('Lobby Display', 'Lobby/TV dashboard display PC', 3, '1', 11);

-- Add new applications
INSERT INTO applications (appname, appdescription, supportteamid, isinstallable, isactive, ishidden) VALUES
('GE Aerospace Dashboard', 'Shopfloor dashboard kiosk display application', 1, b'1', b'1', b'0'),
('GE Aerospace Lobby Display', 'Lobby/TV dashboard kiosk display application', 1, b'1', b'1', b'0');

-- Verify insertions
SELECT 'PC Types Added:' AS '';
SELECT pctypeid, typename, description FROM pctype WHERE typename IN ('Dashboard', 'Lobby Display');

SELECT 'Applications Added:' AS '';
SELECT appid, appname, appdescription FROM applications WHERE appname LIKE 'GE Aerospace Dashboard' OR appname LIKE 'GE Aerospace Lobby Display';
