Add badge printing, test pages, and eDNC cleanup script
- printbadge.asp: Machine badge printing with barcode (Code39) - testcalc.asp: Test page for UDC calculation debugging - testpage.asp: Generic test page template - sql/drop_ednc_tables.sql: Cleanup script for deprecated eDNC tables 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
23
sql/drop_ednc_tables.sql
Normal file
23
sql/drop_ednc_tables.sql
Normal file
@@ -0,0 +1,23 @@
|
||||
-- ============================================================================
|
||||
-- Drop eDNC Special Character Fix Tables and Data
|
||||
-- Run on PRODUCTION to remove deprecated eDNC tracking
|
||||
-- Created: 2025-12-12
|
||||
-- ============================================================================
|
||||
|
||||
-- Remove view first (depends on table)
|
||||
DROP VIEW IF EXISTS vw_ednclogs;
|
||||
|
||||
-- Remove log table
|
||||
DROP TABLE IF EXISTS ednclogs;
|
||||
|
||||
-- Remove installation tracking records
|
||||
DELETE FROM installedapps WHERE appid = 79;
|
||||
|
||||
-- Remove application definition
|
||||
DELETE FROM applications WHERE appid = 79;
|
||||
|
||||
-- Verify cleanup
|
||||
SELECT 'Cleanup complete. Verify tables removed:' AS status;
|
||||
SHOW TABLES LIKE '%ednc%';
|
||||
SELECT COUNT(*) AS remaining_installedapps FROM installedapps WHERE appid = 79;
|
||||
SELECT COUNT(*) AS remaining_applications FROM applications WHERE appid = 79;
|
||||
Reference in New Issue
Block a user