Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate CodebaseResource and DiscoveredPackage pk from id to uuid #331

Closed
tdruez opened this issue Sep 28, 2021 · 2 comments
Closed

Migrate CodebaseResource and DiscoveredPackage pk from id to uuid #331

tdruez opened this issue Sep 28, 2021 · 2 comments

Comments

@tdruez
Copy link
Member

tdruez commented Sep 28, 2021

DiscoveredPackage already has a uuid field but it's not the pk
CodebaseResource has only a id

Note: we want to keep the id as pk, simply add the uuid for the URLs and reference the object.

@DhruviJ17
Copy link

@tdruez can I work on this?

tdruez added a commit that referenced this issue Jul 3, 2023
Signed-off-by: Thomas Druez <tdruez@nexb.com>
@tdruez
Copy link
Member Author

tdruez commented Jul 3, 2023

We do not rely on id PK in URLs anymore, 92d9c35

@tdruez tdruez closed this as completed Jul 3, 2023
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

No branches or pull requests

2 participants