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()
export class Payment {
@PrimaryGeneratedColumn('uuid')
public id!: string;
@PrimaryGeneratedColumn('increment')
public id!: number;
@Column()
public uuidUser!: string;