Actions
CompressPdf #470
openBackend: Update uid generation logic
Start date:
10/01/2024
Due date:
10/01/2024 (about 19 months late)
% Done:
100%
Estimated time:
8:00 h
Description
Description¶
We need to generate uid from the prisma to maintain the uniqueness of the uid.
Steps¶
- Make the uid column unique in token table.
- Delete the current uid generation code from each endpoint.
- Generate uid by default in uid column of token table.
Sample Code¶
Use the following code inside the token table
uid String @unique @default(uuid())
Actions