1
0
forked from noxious/server

Characters bug fix

This commit is contained in:
2025-01-01 23:52:48 +01:00
parent 0c77758351
commit 664a74c973
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ export class Character extends BaseEntity {
@PrimaryKey()
id = randomUUID()
@ManyToOne()
@ManyToOne({ deleteRule: 'cascade' })
user!: User
@Property({ unique: true })