Add index to apiKey column

This commit is contained in:
ricardo 2022-04-14 15:07:37 -04:00
parent a3a0f57835
commit 5051d189fc

View file

@ -125,6 +125,7 @@ export class User {
}
@Column({ type: String, nullable: true })
@Index({ unique: true })
apiKey?: string | null;
/**