Files
co-lite/openspec/changes/add-qr-self-registration/sql/99-rollback.sql
T

8 lines
351 B
SQL

-- Co-Lite change add-qr-self-registration: rollback. Deletes the codes, the notices and the consent records.
USE `service-system`;
DROP TABLE IF EXISTS `company_privacy_notice`;
USE `service-counter`;
DROP TABLE IF EXISTS `registration_link`;
ALTER TABLE `event_lead` DROP COLUMN `consent_notice_id`, DROP COLUMN `consent_at`, DROP COLUMN `source`;