diff options
Diffstat (limited to 'server/models/video/video-abuse.ts')
-rw-r--r-- | server/models/video/video-abuse.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video-abuse.ts b/server/models/video/video-abuse.ts index ab1a3ea7d..f55a25e6a 100644 --- a/server/models/video/video-abuse.ts +++ b/server/models/video/video-abuse.ts | |||
@@ -96,7 +96,7 @@ function associate (models) { | |||
96 | name: 'reporterPodId', | 96 | name: 'reporterPodId', |
97 | allowNull: true | 97 | allowNull: true |
98 | }, | 98 | }, |
99 | onDelete: 'cascade' | 99 | onDelete: 'CASCADE' |
100 | }) | 100 | }) |
101 | 101 | ||
102 | VideoAbuse.belongsTo(models.Video, { | 102 | VideoAbuse.belongsTo(models.Video, { |
@@ -104,7 +104,7 @@ function associate (models) { | |||
104 | name: 'videoId', | 104 | name: 'videoId', |
105 | allowNull: false | 105 | allowNull: false |
106 | }, | 106 | }, |
107 | onDelete: 'cascade' | 107 | onDelete: 'CASCADE' |
108 | }) | 108 | }) |
109 | } | 109 | } |
110 | 110 | ||