Verified Commit 693c6586 authored by Chocobozzz's avatar Chocobozzz
Browse files

Fix missing delete cascade video -> channel

parent c2082122
......@@ -42,7 +42,7 @@
* :tada: Add RTL layout support
* Add ability to use HTML, markdown and [custom HTML tags]( in instance description
* Default to dark theme (if available) if requested by the web browser
* Add ability for admins to configure minimum signup page [#4010](
* Add ability for admins to configure minimum age required in signup page [#4010](
* Use a dedicated URL for each tab in publish page
* Add ability to prefill contact form using query parameters in URL [#4161](
* Accessibility/UI:
......@@ -572,7 +572,8 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {
foreignKey: {
allowNull: true
hooks: true
hooks: true,
onDelete: 'cascade'
VideoChannel: VideoChannelModel
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment