Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#553 remove unused table plugin_log and plugin_configuration #555

Merged
merged 3 commits into from
Dec 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/main/java/alfio/manager/EventManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,6 @@ public void deleteEvent(int eventId, String username) {

eventDeleterRepository.deleteWhitelistedTickets(eventId);
eventDeleterRepository.deleteGroupLinks(eventId);

eventDeleterRepository.deletePluginLog(eventId);
eventDeleterRepository.deletePluginConfiguration(eventId);

eventDeleterRepository.deleteConfigurationEvent(eventId);
eventDeleterRepository.deleteConfigurationTicketCategory(eventId);
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/alfio/repository/EventDeleterRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ public interface EventDeleterRepository {
@Query("delete from waiting_queue where event_id = :eventId")
int deleteWaitingQueue(@Bind("eventId") int eventId);

@Query("delete from plugin_log where event_id = :eventId")
int deletePluginLog(@Bind("eventId") int eventId);

@Query("delete from plugin_configuration where event_id = :eventId")
int deletePluginConfiguration(@Bind("eventId") int eventId);

@Query("delete from configuration_event where event_id_fk = :eventId")
int deleteConfigurationEvent(@Bind("eventId") int eventId);

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--
-- This file is part of alf.io.
--
-- alf.io is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- alf.io is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with alf.io. If not, see <http://www.gnu.org/licenses/>.
--

drop table plugin_log;
drop table plugin_configuration;