change from incremental id to uuid-v4

This commit is contained in:
rubikscraft
2022-04-01 10:44:41 +02:00
parent 1f360b974e
commit c6d1206e29
12 changed files with 19 additions and 19 deletions

View File

@@ -28,7 +28,7 @@ export class NameRolesUser extends UsernameUser {
// Actual entity that goes in the db
export class EUser extends NameRolesUser {
@EntityID()
id?: number;
id?: string;
@IsOptional()
@Exclude()