chore: rolling migration removed role and roleId field from project membership and identity project membership

This commit is contained in:
Akhil Mohan
2024-04-15 02:16:11 +05:30
parent fbc7b34786
commit c47a91715f
12 changed files with 99 additions and 84 deletions
@@ -93,9 +93,7 @@ export const identityProjectServiceFactory = ({
const identityProjectMembership = await identityProjectDAL.create(
{
identityId,
projectId: project.id,
role: isCustomRole ? ProjectMembershipRole.Custom : role,
roleId: customRole?.id
projectId: project.id
},
tx
);