feat: add admin js
This commit is contained in:
@@ -5,11 +5,12 @@ import {
|
||||
Entity,
|
||||
Index,
|
||||
PrimaryGeneratedColumn,
|
||||
BaseEntity,
|
||||
} from 'typeorm';
|
||||
|
||||
@Entity()
|
||||
@Index(['phone', 'used'])
|
||||
export class OTP {
|
||||
export class OTP extends BaseEntity {
|
||||
@PrimaryGeneratedColumn()
|
||||
id!: number;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user