Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat(server): rebased migration files and resolved commits
Akhil Mohan0f0e2b360cef
diff --git a/backend/src/db/migrations/20240308154949_temp-roles.ts b/backend/src/db/migrations/20240312162549_temp-roles.tssimilarity index 100%rename from backend/src/db/migrations/20240308154949_temp-roles.tsrename to backend/src/db/migrations/20240312162549_temp-roles.tsdiff --git a/backend/src/db/migrations/20240311093939_temp-role-identity.ts b/backend/src/db/migrations/20240312162556_temp-role-identity.tssimilarity index 100%rename from backend/src/db/migrations/20240311093939_temp-role-identity.tsrename to backend/src/db/migrations/20240312162556_temp-role-identity.tsdiff --git a/backend/src/services/project-membership/project-membership-dal.ts b/backend/src/services/project-membership/project-membership-dal.tsindex b3a2d52dcc..8faab487e8 100644--- a/backend/src/services/project-membership/project-membership-dal.ts+++ b/backend/src/services/project-membership/project-membership-dal.ts@@ -53,11 +53,11 @@ export const projectMembershipDALFactory = (db: TDbClient) => {const members = sqlNestRelationships({data: docs,- parentMapper: ({ email, firstName, lastName, publicKey, isGhost, id, userId }) => ({+ parentMapper: ({ email, firstName, username, lastName, publicKey, isGhost, id, userId }) => ({id,userId,projectId,- user: { email, firstName, lastName, id: userId, publicKey, isGhost }+ user: { email, username, firstName, lastName, id: userId, publicKey, isGhost }}),key: "id",childrenMapper: [diff --git a/frontend/src/hooks/api/users/types.ts b/frontend/src/hooks/api/users/types.tsindex 540ade9c1e..edc3bdf9e1 100644--- a/frontend/src/hooks/api/users/types.ts+++ b/frontend/src/hooks/api/users/types.ts@@ -68,6 +68,7 @@ export type TWorkspaceUser = {id: string;user: {email: string;+ username: string;firstName: string;lastName: string;id: string;