Skip to content

fix(database): remove unicity constraint and property text limit#62

Merged
evebrnd merged 1 commit into
mainfrom
fix/remove-unicity-constraint-and-property-varchar-limit
May 29, 2026
Merged

fix(database): remove unicity constraint and property text limit#62
evebrnd merged 1 commit into
mainfrom
fix/remove-unicity-constraint-and-property-varchar-limit

Conversation

@evebrnd
Copy link
Copy Markdown
Collaborator

@evebrnd evebrnd commented May 29, 2026

PR Description

What this PR Provides

  • Change property.value to TEXT, previous VARCHAR(255) is too short for properties like description
  • Remove constraint UNIQUE (template_identifier, name) that prevented multiple entities from sharing the same display name within a template

Review

  • The reviewer has tested the feature
  • The reviewer has reviewed the implementation of the feature
  • The documentation has been updated
  • The feature implementation respects the Technical Doc / ADR previously produced

How to test

  • Verify flyway script runs successfully
  • Create an entity with the same name as an existing one

Breaking changes

N/A

@sonarqubecloud
Copy link
Copy Markdown

@evebrnd evebrnd changed the title fix(db): remove unicity constraint and property text limit fix(database): remove unicity constraint and property text limit May 29, 2026
@evebrnd evebrnd marked this pull request as ready for review May 29, 2026 13:51
@evebrnd evebrnd merged commit 78f1f54 into main May 29, 2026
21 of 29 checks passed
@evebrnd evebrnd deleted the fix/remove-unicity-constraint-and-property-varchar-limit branch May 29, 2026 14:31
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