Skip to content

Conversation

annvelents
Copy link
Contributor

Context

Because of old invoices that got organization_sequential_id copied into billining_entity_sequential_id, we got not uniq values in billing_entity_sequential_id. For now we're adding this index as not uniq, will add uniqueness after the old invoices are fixed
Another solution: add two indexes: before 2025 - all values, after 2025 with uniqueness...

@annvelents annvelents force-pushed the fix/multientities/rebuild-indexes branch from ab051ce to 55be156 Compare May 16, 2025 11:15
@annvelents annvelents merged commit 3b4ce1f into main May 16, 2025
14 checks passed
@annvelents annvelents deleted the fix/multientities/rebuild-indexes branch May 16, 2025 11:51
vincent-pochet pushed a commit that referenced this pull request May 16, 2025
Because of old invoices that got organization_sequential_id copied into
billining_entity_sequential_id, we got not uniq values in
billing_entity_sequential_id. For now we're adding this index as not
uniq, will add uniqueness after the old invoices are fixed
Another solution: add two indexes: before 2025 - all values, after 2025
with uniqueness...
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.

2 participants