update users.ts and user controller to allow duplicate email and username

This commit is contained in:
wayanrivan
2026-05-28 13:56:29 +07:00
parent 57e24fc18a
commit 36d74e8fe8

View File

@ -12,7 +12,7 @@ export class User {
@Column({ @Column({
nullable: false, nullable: false,
unique: true, unique: false,
length: 64, length: 64,
}) })
email: string; email: string;
@ -30,7 +30,7 @@ export class User {
@Column({ @Column({
nullable: false, nullable: false,
unique: true, unique: false,
length: 64, length: 64,
}) })
username: string; username: string;