otp in database

This commit is contained in:
2026-01-20 20:27:01 +03:30
parent 897db44c66
commit 6ba36ca130
13 changed files with 113 additions and 124 deletions
@@ -0,0 +1,14 @@
import { EntityManager, EntityRepository } from '@mikro-orm/postgresql';
import { Injectable } from '@nestjs/common';
import { Otp } from '../entities/otp.entity';
@Injectable()
export class OtpRepository extends EntityRepository<Otp> {
constructor(
readonly em: EntityManager,
) {
super(em, Otp);
}
}