update name unique

This commit is contained in:
2024-12-27 10:34:55 +07:00
parent fb4d6a321b
commit 20d7d96f62

View File

@ -32,7 +32,8 @@ export class User {
@Column({ @Column({
nullable: true, nullable: true,
length: 64 length: 64,
unique: true,
}) })
name: string; name: string;