-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remove Event #100
Comments
Hi @mg-1999 |
It does the job if you only have a few events, but it stacks up eventually. So a true removal would be a nice addition to the software. |
OK then, we'll try to schedule it for the release 1.8. |
current queries (and potentially not in the correct order... :D) delete from waiting_queue where event_id = 0;
delete from plugin_log where event_id = 0;
delete from plugin_configuration where event_id = 0;
delete from configuration_event where event_id_fk = 0;
delete from configuration_ticket_category where event_id_fk = 0;
delete from email_message where event_id = 0
delete from ticket_field_value where ticket_field_configuration_id_fk in (select id from ticket_field_configuration where event_id_fk = 0);
delete from ticket_field_description where ticket_field_configuration_id_fk in (select id from ticket_field_configuration where event_id_fk = 0);
delete from ticket_field_configuration where event_id_fk= 0;
delete from event_migration where event_id = 0;
delete from sponsor_scan where event_id = 0;
delete from ticket where event_id = 0;
-- tickets_reservation will remain in the system though
update tickets_reservation set promo_code_id_fk = null where promo_code_id_fk in (select id from promo_code where event_id_fk = 0);
delete from promo_code where event_id_fk = 0;
delete from ticket_category_text where ticket_category_id_fk in (select id from ticket_category where event_id = 0)
delete from ticket_category where event_id = 0;
delete from event_description_text where event_id_fk = 0;
delete from event where id = 0; |
note: SPECIAL_PRICE.ticket_category_id does not have an active FK constraint |
finally implemented :) |
Is there a way to remove an event completely from the software? Because I cant find it.
The text was updated successfully, but these errors were encountered: