-- Add HeatTreat application for PC type detection
-- Run on production database
-- Date: 2025-12-09

-- Check if HeatTreat already exists before inserting
INSERT INTO applications (appname, appdescription, supportteamid, isactive)
SELECT 'HeatTreat', 'Heat Treat monitoring and control software', 1, 1
FROM dual
WHERE NOT EXISTS (SELECT 1 FROM applications WHERE appname = 'HeatTreat');

-- Verify the insert
SELECT appid, appname, appdescription, isactive
FROM applications
WHERE appname = 'HeatTreat';
