summaryrefslogtreecommitdiff
path: root/packages/backend/src/models/entities/user-list-joining.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/backend/src/models/entities/user-list-joining.ts')
-rw-r--r--packages/backend/src/models/entities/user-list-joining.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/backend/src/models/entities/user-list-joining.ts b/packages/backend/src/models/entities/user-list-joining.ts
index bb7dc40b95..2efa017527 100644
--- a/packages/backend/src/models/entities/user-list-joining.ts
+++ b/packages/backend/src/models/entities/user-list-joining.ts
@@ -10,19 +10,19 @@ export class UserListJoining {
public id: string;
@Column('timestamp with time zone', {
- comment: 'The created date of the UserListJoining.'
+ comment: 'The created date of the UserListJoining.',
})
public createdAt: Date;
@Index()
@Column({
...id(),
- comment: 'The user ID.'
+ comment: 'The user ID.',
})
public userId: User['id'];
@ManyToOne(type => User, {
- onDelete: 'CASCADE'
+ onDelete: 'CASCADE',
})
@JoinColumn()
public user: User | null;
@@ -30,12 +30,12 @@ export class UserListJoining {
@Index()
@Column({
...id(),
- comment: 'The list ID.'
+ comment: 'The list ID.',
})
public userListId: UserList['id'];
@ManyToOne(type => UserList, {
- onDelete: 'CASCADE'
+ onDelete: 'CASCADE',
})
@JoinColumn()
public userList: UserList | null;