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

backfill slugs on existing synonym records #2750

Open
Courey opened this issue Dec 4, 2024 · 0 comments
Open

backfill slugs on existing synonym records #2750

Courey opened this issue Dec 4, 2024 · 0 comments

Comments

@Courey
Copy link
Contributor

Courey commented Dec 4, 2024

When we changed the route to be a resource/id route to use a slug, I had to add a field to the synonyms table called slug. We need to run through all the existing synonym records and add the slugified version of the eventId to the slug field. The code in review in PR #2617 will not function as expected until we add the slug to the existing records.
use import { slug } from 'github-slugger' to create the slugs.

@Courey Courey added this to GCN Dec 4, 2024
@Courey Courey converted this from a draft issue Dec 4, 2024
@Courey Courey added this to the Circulars Synonyms milestone Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Open
Development

No branches or pull requests

1 participant