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

[CVAT][Exchange Oracle] Use UUID type in postgres #2624

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

Bobronium
Copy link
Collaborator

Currently varchar is used for primary keys. This is very ineficient and prone to errors as well (nothing is stopping the database from accumulating records with primary keys that are invalid UUIDs, making it much harder to adopt these changes in the future.

It make sense to fix this before actual launch to prevent problems in the future.

Reference: https://stackoverflow.com/questions/32189129/performance-difference-between-uuid-char-and-varchar-in-postgresql-table

Copy link

vercel bot commented Oct 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
human-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2024 2:57pm
human-dashboard-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2024 2:57pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
faucet-frontend ⬜️ Ignored (Inspect) Oct 10, 2024 2:57pm
faucet-server ⬜️ Ignored (Inspect) Oct 10, 2024 2:57pm

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