mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix missing delete cascade video -> channel
This commit is contained in:
@@ -572,7 +572,8 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {
|
||||
foreignKey: {
|
||||
allowNull: true
|
||||
},
|
||||
hooks: true
|
||||
hooks: true,
|
||||
onDelete: 'cascade'
|
||||
})
|
||||
VideoChannel: VideoChannelModel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user