diff options
Diffstat (limited to 'server/models/abuse/video-comment-abuse.ts')
-rw-r--r-- | server/models/abuse/video-comment-abuse.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/server/models/abuse/video-comment-abuse.ts b/server/models/abuse/video-comment-abuse.ts index de9f4d5fd..8b34009b4 100644 --- a/server/models/abuse/video-comment-abuse.ts +++ b/server/models/abuse/video-comment-abuse.ts | |||
@@ -1,5 +1,4 @@ | |||
1 | import { AllowNull, BelongsTo, Column, CreatedAt, DataType, Default, ForeignKey, Model, Table, UpdatedAt } from 'sequelize-typescript' | 1 | import { BelongsTo, Column, CreatedAt, ForeignKey, Model, Table, UpdatedAt } from 'sequelize-typescript' |
2 | import { VideoComment } from '@shared/models' | ||
3 | import { VideoCommentModel } from '../video/video-comment' | 2 | import { VideoCommentModel } from '../video/video-comment' |
4 | import { AbuseModel } from './abuse' | 3 | import { AbuseModel } from './abuse' |
5 | 4 | ||
@@ -22,11 +21,6 @@ export class VideoCommentAbuseModel extends Model<VideoCommentAbuseModel> { | |||
22 | @UpdatedAt | 21 | @UpdatedAt |
23 | updatedAt: Date | 22 | updatedAt: Date |
24 | 23 | ||
25 | @AllowNull(true) | ||
26 | @Default(null) | ||
27 | @Column(DataType.JSONB) | ||
28 | deletedComment: VideoComment & { Video: { name: string, id: number, uuid: string }} | ||
29 | |||
30 | @ForeignKey(() => AbuseModel) | 24 | @ForeignKey(() => AbuseModel) |
31 | @Column | 25 | @Column |
32 | abuseId: number | 26 | abuseId: number |