enhance(backend): UserListMembershipにユーザーリストの作成者IDを非正規化

This commit is contained in:
syuilo
2023-10-09 08:46:05 +09:00
parent ca022cbbdf
commit 5601ed0914
5 changed files with 47 additions and 1 deletions

View File

@@ -50,4 +50,11 @@ export class MiUserListMembership {
default: false,
})
public withReplies: boolean;
//#region Denormalized fields
@Column({
...id(),
})
public userListUserId: MiUser['id'];
//#endregion
}