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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user