From 04aefa8af730d173229957dba9a4b48153a515dc Mon Sep 17 00:00:00 2001 From: Errormacr Date: Fri, 24 Nov 2023 17:17:32 +0300 Subject: [PATCH] Changed the primary key of the Payment entity from a UUID to an incrementing integer. --- backend/libs/database/payment.entity.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/libs/database/payment.entity.ts b/backend/libs/database/payment.entity.ts index 3262fce..14e7844 100644 --- a/backend/libs/database/payment.entity.ts +++ b/backend/libs/database/payment.entity.ts @@ -3,8 +3,8 @@ import { ProxyUser } from './proxy_user.entity'; @Entity() export class Payment { - @PrimaryGeneratedColumn('uuid') - public id!: string; + @PrimaryGeneratedColumn('increment') + public id!: number; @Column() public uuidUser!: string;