sourcefuse / sourcefuse/loopback4-microservice-catalog
UUID Column change the generation function
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 297
- Forks
- 78
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 4
Description
Is your feature request related to a problem? Please describe.
Currently we use md5() to generate the uuid column, but since it is not completly safe to use it
suggest to use https://www.postgresql.org/docs/current/functions-uuid.html
Also the identity columns should also be changed
CREATE TABLE IF NOT EXISTS main.auth_clients (
id integer NOT NULL GENERATED BY DEFAULT AS IDENTITY,
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the schema or migration definitions for main.auth_clients and search for the current md5()-based UUID generation and identity-column declarations. Read the linked PostgreSQL UUID documentation first, then identify every affected definition; done means the UUID generation and requested identity columns consistently use the agreed PostgreSQL approach.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100