Add SQL script for HeatTreat application
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
14
sql/add_heattreat_application.sql
Normal file
14
sql/add_heattreat_application.sql
Normal file
@@ -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';
|
||||
Reference in New Issue
Block a user