forked from noxious/server
Renamed folder utilities > application, added baseEntity class, updated baseRepo class, removed prisma helper
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
import { Entity, ManyToOne, PrimaryKey, Property } from '@mikro-orm/core'
|
||||
import { BaseEntity } from '#application/bases/baseEntity'
|
||||
import { User } from './user'
|
||||
|
||||
@Entity()
|
||||
export class PasswordResetToken {
|
||||
export class PasswordResetToken extends BaseEntity {
|
||||
@PrimaryKey()
|
||||
id!: number
|
||||
|
||||
|
Reference in New Issue
Block a user