hard delete order

This commit is contained in:
2026-01-21 17:12:12 +03:30
parent ca8d6c473d
commit 92881c5b7c
5 changed files with 43 additions and 6 deletions
+1 -1
View File
@@ -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'