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

Creating a collection ignores next id in sequence #333

Open
iandees opened this issue Apr 20, 2023 · 0 comments
Open

Creating a collection ignores next id in sequence #333

iandees opened this issue Apr 20, 2023 · 0 comments

Comments

@iandees
Copy link
Member

iandees commented Apr 20, 2023

The collections table in the database had multiple collections with the same id, and the collections_id_seq was at 2. I manually adjusted the IDs for the collections that had matching IDs, but it indicates that collection creation is not using the correct ID sequence.

https://github.com/openaddresses/batch/blob/master/api/routes/collection.js#L112-L115

This is likely the cause for the global and ca collections having broken links on the website.

@iandees iandees assigned iandees and unassigned iandees Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant