From 07d8261034474bf393e3378cbf5da794df121c06 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Fri, 14 Jan 2022 11:13:26 +0100 Subject: [PATCH] Fixing User name unique issue (it was already set as unique) --- src/backend/model/database/sql/enitites/UserEntity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/model/database/sql/enitites/UserEntity.ts b/src/backend/model/database/sql/enitites/UserEntity.ts index 8979e52b..dd0bc9ca 100644 --- a/src/backend/model/database/sql/enitites/UserEntity.ts +++ b/src/backend/model/database/sql/enitites/UserEntity.ts @@ -8,7 +8,7 @@ export class UserEntity implements UserDTO { @PrimaryGeneratedColumn() id: number; - @Column({unique: true}) + @Column() name: string; @Column()