Project

General

Profile

Actions

CompressPdf #470

open

Backend: Update uid generation logic

Added by Zahid Hassan over 1 year ago. Updated over 1 year ago.

Status:
Complete
Priority:
High
Assignee:
Category:
feature
Target version:
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 #1

Updated by Redmine Admin over 1 year ago

  • Status changed from To Do to Complete
Actions

Also available in: Atom PDF