Changed the primary key of the Payment entity from a UUID to an incrementing integer.

This commit is contained in:
Errormacr
2023-11-24 17:17:32 +03:00
parent e70880dcc5
commit 04aefa8af7

View File

@@ -3,8 +3,8 @@ import { ProxyUser } from './proxy_user.entity';
@Entity() @Entity()
export class Payment { export class Payment {
@PrimaryGeneratedColumn('uuid') @PrimaryGeneratedColumn('increment')
public id!: string; public id!: number;
@Column() @Column()
public uuidUser!: string; public uuidUser!: string;