Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
12 lines
525 B
SQL
12 lines
525 B
SQL
-- Co-Lite change add-event-ticket-orders: rollback. Drops every ticket order and ticket. Run only to remove the data too.
|
|
USE `service-counter`;
|
|
DROP TABLE IF EXISTS `ticket`;
|
|
DROP TABLE IF EXISTS `shop_order_line`;
|
|
DROP TABLE IF EXISTS `shop_order`;
|
|
DROP TABLE IF EXISTS `ticket_type`;
|
|
ALTER TABLE `event` DROP COLUMN `tickets_enabled`, DROP COLUMN `payment_instructions`, DROP COLUMN `hold_days`;
|
|
|
|
USE `service-system`;
|
|
DELETE FROM `modules_roles` WHERE `module_id` = 41160000;
|
|
DELETE FROM `module` WHERE `id` = 41160000;
|