Skip to content

Fix company id conflict - #903

Merged
shanoysinc merged 4 commits into
colorstackorg:mainfrom
Norus-Tech:fix-company-id-conflict
Aug 27, 2026
Merged

Fix company id conflict#903
shanoysinc merged 4 commits into
colorstackorg:mainfrom
Norus-Tech:fix-company-id-conflict

Conversation

@shanoysinc

Copy link
Copy Markdown
Collaborator

Description ✏️

Fixes an issue where updating a company could fail with a duplicate key value violates unique constraint error.

  • Fixed company update logic to prevent duplicate unique values.
  • Ensured existing company records can be updated without triggering unique constraint violations.

Type of Change 🐞

  • Feature - A non-breaking change which adds functionality.
  • Fix - A non-breaking change which fixes an issue.
  • Refactor - A change that neither fixes a bug nor adds a feature.
  • Documentation - A change only to in-code or markdown documentation.
  • Tests - A change that adds missing unit/integration tests.
  • Chore - A change that is likely none of the above.

Checklist ✅

  • I have done a self-review of my code.
  • I have manually tested my code (if applicable).
  • I have added/updated any relevant documentation (if applicable).

@shanoysinc
shanoysinc merged commit f7fc638 into colorstackorg:main Aug 27, 2026
1 check 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.

1 participant