summaryrefslogtreecommitdiff
path: root/packages/backend/src/models/entities/note-unread.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/backend/src/models/entities/note-unread.ts')
-rw-r--r--packages/backend/src/models/entities/note-unread.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/backend/src/models/entities/note-unread.ts b/packages/backend/src/models/entities/note-unread.ts
index 57dda4fafd..952f71cdaa 100644
--- a/packages/backend/src/models/entities/note-unread.ts
+++ b/packages/backend/src/models/entities/note-unread.ts
@@ -15,7 +15,7 @@ export class NoteUnread {
public userId: User['id'];
@ManyToOne(type => User, {
- onDelete: 'CASCADE'
+ onDelete: 'CASCADE',
})
@JoinColumn()
public user: User | null;
@@ -25,7 +25,7 @@ export class NoteUnread {
public noteId: Note['id'];
@ManyToOne(type => Note, {
- onDelete: 'CASCADE'
+ onDelete: 'CASCADE',
})
@JoinColumn()
public note: Note | null;
@@ -48,7 +48,7 @@ export class NoteUnread {
@Index()
@Column({
...id(),
- comment: '[Denormalized]'
+ comment: '[Denormalized]',
})
public noteUserId: User['id'];
@@ -56,7 +56,7 @@ export class NoteUnread {
@Column({
...id(),
nullable: true,
- comment: '[Denormalized]'
+ comment: '[Denormalized]',
})
public noteChannelId: Channel['id'] | null;
//#endregion