Remove topic_taxonomy_taxons from expanded links #2677
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This application is owned by the publishing platform team. Please let us know in #govuk-publishing-platform when you raise any PRs.
Follow these steps if you are doing a Rails upgrade.
Part of https://trello.com/c/2LcbNRSQ/2417-%F0%9F%8F%94epic-remove-specialist-topic-code-from-publishing-api-l
What
topic_taxonomy_taxons appear to be a legacy field that stored a mapping between specialist topics and taxonomy topics. So we should retire them.
Why
Remove tech debt
Trello ticket
How
See https://github.com/alphagov/publishing-api/blob/main/docs/content_schemas/changing-an-existing-content-schema.md
It has been verified by @hannako that there are no
topic_taxonomy_taxon
links in the database—please, see the comment below.The following search among all of our GitHub repositories shows that this field is no longer used:
org:alphagov topic_taxonomy_taxons
The returned search result from the whitehall repository is unrelated as it's just a name of a cache key: