Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upWhen seed job is run, we should clear the table of a user's info, then sync #201
Comments
ruebot
added
bug
enhancement
Background jobs
labels
Nov 1, 2018
ruebot
self-assigned this
Nov 1, 2018
ruebot
closed this
in
5466342
Nov 1, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ruebot commentedNov 1, 2018
Occasionally an Archive-It user may change the name of a collection, or make it private. When this happens, we can get duplicates on the user's page that displays all of the collections.
I think the easiest way to resolves this would be to just issue a query before the seed job is run to delete all the rows in the wasapi_files and collection table for a given user, then sync. This would be instead of reconciliation of merging rows which will get ugly quick.