user account create

This commit is contained in:
yaschalew
2026-05-26 05:40:53 +03:00
parent 69db7cd960
commit 5a4d6baec2
24 changed files with 3387 additions and 1817 deletions

View File

@@ -0,0 +1,25 @@
// otp.entity.ts
import {
Column,
Entity,
} from "typeorm";
import { BaseEntity } from "@edr/api-common";
@Entity({
name: "otp_verifications",
})
export class OtpVerification extends BaseEntity{
@Column({
unique: true,
})
phone!: string;
@Column()
otp!: string;
@Column({
default: false,
})
verified!: boolean;
}