Skip to content

Commit

Permalink
Merge pull request #1778 from alphagov/add-sql-remove_harvest_coupled…
Browse files Browse the repository at this point in the history
…_resource-table

Add the migration script for audit purposes, script will be manually run
  • Loading branch information
kentsanggds authored Jul 15, 2024
2 parents 19fc8b6 + 821176b commit 549776e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions migrations/008_remove_harvest_coupled_resource.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
-- drop the harvest_coupled_resource table as it is preventing deletion of datasets
-- when clearing a harvest source.
-- The harvest_coupled_resource table is not referenced anywhere in the ckanext-harvest or ckan repo
-- so it will be removed in order to stop the blocking of clearing harvest sources.

BEGIN TRANSACTION;

DROP table harvest_coupled_resource;

COMMIT;

0 comments on commit 549776e

Please sign in to comment.