-- ============================================================================
-- FILE: add_new_apps_2025-12-05.sql
-- PURPOSE: Add new applications for production deployment
-- DATE: 2025-12-05
--
-- USAGE: Run this on production database
--   mysql -u root -p shopdb < add_new_apps_2025-12-05.sql
-- ============================================================================

-- Add Keyence VR Series application
INSERT INTO applications (appid, appname, isactive) VALUES
(69, 'Keyence VR Series', 1);

-- Add Genspect application
INSERT INTO applications (appid, appname, isactive) VALUES
(70, 'Genspect', 1);

-- Add GageCal application (EAS1000 gage calibration)
INSERT INTO applications (appid, appname, isactive) VALUES
(71, 'GageCal', 1);

-- Add NI Software application (National Instruments)
INSERT INTO applications (appid, appname, isactive) VALUES
(72, 'NI Software', 1);

-- Add goCMM application (CMM companion software)
INSERT INTO applications (appid, appname, isactive) VALUES
(73, 'goCMM', 1);

-- Add DODA application (Dovetail Digital Analysis - CMM)
INSERT INTO applications (appid, appname, isactive) VALUES
(74, 'DODA', 1);

-- Add FormStatusMonitor application (Wax Trace companion)
INSERT INTO applications (appid, appname, isactive) VALUES
(75, 'FormStatusMonitor', 1);

-- Verify additions
SELECT 'Applications added:' AS status;
SELECT appid, appname, isactive FROM applications WHERE appid IN (69, 70, 71, 72, 73, 74, 75);
