summary refs log tree commit diff
path: root/src/database/entities/StickerPack.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-07-03 15:40:47 +0200
committerRory& <root@rory.gay>2026-07-03 15:40:47 +0200
commitd58aab06a7f0de45b7174c7c36c05eb2c0fd1ae0 (patch)
treef71d98c9fc3d01374da87e65d01b8fa0d5308f93 /src/database/entities/StickerPack.ts
parentFix column names for join tables (diff)
downloadserver-ts-d58aab06a7f0de45b7174c7c36c05eb2c0fd1ae0.tar.xz
Fix constraint names
Diffstat (limited to 'src/database/entities/StickerPack.ts')
-rw-r--r--src/database/entities/StickerPack.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/entities/StickerPack.ts b/src/database/entities/StickerPack.ts

index 87112441..391cb5df 100644 --- a/src/database/entities/StickerPack.ts +++ b/src/database/entities/StickerPack.ts
@@ -46,6 +46,6 @@ export class StickerPack extends BaseClass { cover_sticker_id?: string; @ManyToOne(() => Sticker, { nullable: true }) - @JoinColumn() + @JoinColumn({ foreignKeyConstraintName: "FK_sticker_pack_cover_sticker_id" }) cover_sticker?: Sticker; }