1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-03 20:46:20 +02:00

fix: Pages will be deleted when eye-catching image is moved (#16455)

This commit is contained in:
anatawa12
2025-08-25 10:04:35 +09:00
committed by GitHub
parent 47d83e8930
commit 41b5677f01
2 changed files with 19 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ export class MiPage {
public eyeCatchingImageId: MiDriveFile['id'] | null;
@ManyToOne(type => MiDriveFile, {
onDelete: 'CASCADE',
onDelete: 'SET NULL',
})
@JoinColumn()
public eyeCatchingImage: MiDriveFile | null;