diff --git a/sql/add_heattreat_application.sql b/sql/add_heattreat_application.sql new file mode 100644 index 0000000..32c8b43 --- /dev/null +++ b/sql/add_heattreat_application.sql @@ -0,0 +1,14 @@ +-- 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';