Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Add unique index on link url for user #228

Merged
merged 4 commits into from
Apr 15, 2023
Merged

Conversation

KowalskiPiotr98
Copy link
Contributor

@KowalskiPiotr98 KowalskiPiotr98 commented Apr 15, 2023

This adds a unique index on user creatin id and link url, since I've found that there was no diplicate item detection here.

Note that this is technically a breaking change, as if you have duplicate values in your database the new version will fail to apply this migration and therefore won't be able to start.

@sonarcloud
Copy link

sonarcloud bot commented Apr 15, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@KowalskiPiotr98 KowalskiPiotr98 merged commit c832ce7 into main Apr 15, 2023
@KowalskiPiotr98 KowalskiPiotr98 deleted the unique-index-on-link-url branch April 15, 2023 20:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant