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

Fix: Colorado "duplicate" Articles #178

Open
dogweather opened this issue Jul 17, 2023 · 2 comments
Open

Fix: Colorado "duplicate" Articles #178

dogweather opened this issue Jul 17, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@dogweather
Copy link
Member

E.g.:

Error importing Article(40, Public Agencies - Organizing for Conservation) in Title 37: PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_statutes_on_citation_and_year_and_publication_id"
  13   │ DETAIL:  Key (citation, year, publication_id)=(C.R.S. Title 37 Article 40, 2022, 10) already exists.
@dogweather dogweather added the bug Something isn't working label Jul 17, 2023
@dogweather
Copy link
Member Author

This must be a straight-up parse error. There's just one Article in the source document.

@dogweather
Copy link
Member Author

Maybe:

  • Enforce a uniqueness constraint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant