X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Fabuse%2Fvideo-comment-abuse.ts;h=8b34009b44e8b81a5af21129ac03a41d3d8f012e;hb=441e453ae53e491b09c9b09b00b041788176ce64;hp=b4cc2762e155a798adda92549751592c2dc8b911;hpb=d95d15598847c7f020aa056e7e6e0c02d2bbf732;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/abuse/video-comment-abuse.ts b/server/models/abuse/video-comment-abuse.ts index b4cc2762e..8b34009b4 100644 --- a/server/models/abuse/video-comment-abuse.ts +++ b/server/models/abuse/video-comment-abuse.ts @@ -1,5 +1,4 @@ -import { AllowNull, BelongsTo, Column, CreatedAt, DataType, Default, ForeignKey, Model, Table, UpdatedAt } from 'sequelize-typescript' -import { VideoComment } from '@shared/models' +import { BelongsTo, Column, CreatedAt, ForeignKey, Model, Table, UpdatedAt } from 'sequelize-typescript' import { VideoCommentModel } from '../video/video-comment' import { AbuseModel } from './abuse' @@ -22,11 +21,6 @@ export class VideoCommentAbuseModel extends Model { @UpdatedAt updatedAt: Date - @AllowNull(true) - @Default(null) - @Column(DataType.JSONB) - deletedComment: VideoComment - @ForeignKey(() => AbuseModel) @Column abuseId: number