Files
shopdb/sql/add_heattreat_application.sql
cproudlock 9f58adaf19 Add SQL script for HeatTreat application
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-09 08:11:13 -05:00

15 lines
519 B
SQL

-- 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';