-- ===================================================== -- ROLLBACK 01: Remove Communications Infrastructure -- ===================================================== -- Date: 2025-11-06 -- Purpose: Rollback script 01_create_communications_infrastructure.sql -- WARNING: This will DELETE all data in communications table -- ===================================================== USE shopdb; SET SQL_SAFE_UPDATES = 0; -- ===================================================== -- STEP 1: Drop tables in correct order (FK constraints) -- ===================================================== DROP TABLE IF EXISTS communications; DROP TABLE IF EXISTS comstypes; -- ===================================================== -- VERIFICATION -- ===================================================== SELECT '✓ communications table dropped' AS status; SELECT '✓ comstypes table dropped' AS status; SELECT '✓ ROLLBACK 01 completed successfully' AS status; SET SQL_SAFE_UPDATES = 1; -- ===================================================== -- NOTES -- ===================================================== -- Tables removed: -- - communications -- - comstypes -- -- To restore: Run 01_create_communications_infrastructure.sql -- =====================================================