hard delete order
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Entity, Index, OptionalProps, PrimaryKey, Property } from '@mikro-orm/core';
|
||||
|
||||
@Entity({ tableName: 'otps' })
|
||||
@Entity({ tableName: 'otp' })
|
||||
@Index({ properties: ['phone'] })
|
||||
export class Otp {
|
||||
[OptionalProps]?: 'createdAt'
|
||||
|
||||
Reference in New Issue
Block a user