Skip to content

fix: remove unique username constraint (hotfix) - #1290

Merged
jekabs-karklins merged 1 commit into
developfrom
hotfix-remove-unique-username-contraint
Dec 11, 2025
Merged

fix: remove unique username constraint (hotfix)#1290
jekabs-karklins merged 1 commit into
developfrom
hotfix-remove-unique-username-contraint

Conversation

@jekabs-karklins

@jekabs-karklins jekabs-karklins commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Description

This PR removes the unique username constraint from the users table in the backend.

Motivation and Context

The unique username constraint was causing issues with an ongoing integration. The field username is proposed to be removed in PR #1126

Changes

  • Created a new database patch 0202_DropUsersUsernameKey.sql to remove the unique username constraint from the public.users table.

How Has This Been Tested?

Locally making sure it workd properly

Fixes Jira Issue

https://jira.esss.lu.se/browse/

Depends On

Tests included/Docs Updated?

  • I have added tests to cover my changes.
  • All relevant doc has been updated

@jekabs-karklins
jekabs-karklins requested a review from a team as a code owner December 11, 2025 09:51
@jekabs-karklins
jekabs-karklins requested review from deepaksftc and removed request for a team December 11, 2025 09:51
@jekabs-karklins jekabs-karklins changed the title fix: remove unique username constraint for integration fix fix: remove unique username constraint (hotfix) Dec 11, 2025
@jekabs-karklins
jekabs-karklins merged commit e1c7c32 into develop Dec 11, 2025
25 checks passed
@jekabs-karklins
jekabs-karklins deleted the hotfix-remove-unique-username-contraint branch December 11, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants