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

transportation_route_member_coalesced constraint errors #1537

Merged

Conversation

benedikt-brandtner-bikemap
Copy link
Contributor

Multi-Column Primary-Keys (Unique-Constraints) must not contain NULL values in postgres up until version 15.

This PR coalesces NULL to empty strings for the primary columns during transportation_route_member_coalesced updates and import.

Additionally adds the missing concurrency_index to UPSERT statement of transportation_route_member_coalesced

@ZeLonewolf
Copy link
Contributor

I have not tested this, but the approach looks essentially correct.

@TomPohys
Copy link
Member

Thanks a lot!

@TomPohys TomPohys merged commit 91dd853 into openmaptiles:master Apr 26, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

4 participants