Syncs the event-lead-capture and lead-interests specs into main specs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
12 lines
470 B
SQL
12 lines
470 B
SQL
-- Rollback for add-event-lead-capture. Drops the lead tables and the two modules with their grants.
|
|
-- Destroys every captured lead: take a backup first.
|
|
USE `service-system`;
|
|
DELETE FROM `modules_roles` WHERE `module_id` IN (40200000, 40300000);
|
|
DELETE FROM `module` WHERE `id` IN (40200000, 40300000);
|
|
|
|
USE `service-counter`;
|
|
DROP TABLE IF EXISTS `event_lead_interest`;
|
|
DROP TABLE IF EXISTS `interest`;
|
|
DROP TABLE IF EXISTS `event_lead`;
|
|
DROP TABLE IF EXISTS `lead`;
|