mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
Fixing User name unique issue (it was already set as unique)
This commit is contained in:
parent
4164af7c13
commit
07d8261034
@ -8,7 +8,7 @@ export class UserEntity implements UserDTO {
|
|||||||
@PrimaryGeneratedColumn()
|
@PrimaryGeneratedColumn()
|
||||||
id: number;
|
id: number;
|
||||||
|
|
||||||
@Column({unique: true})
|
@Column()
|
||||||
name: string;
|
name: string;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user