diff --git a/packages/twenty-server/src/engine/core-modules/application-registration/application-registration.entity.ts b/packages/twenty-server/src/engine/core-modules/application-registration/application-registration.entity.ts index 4afe6f1fbe0..3d58b43aad3 100644 --- a/packages/twenty-server/src/engine/core-modules/application-registration/application-registration.entity.ts +++ b/packages/twenty-server/src/engine/core-modules/application-registration/application-registration.entity.ts @@ -45,7 +45,7 @@ export { AppRegistrationSourceType }; }, ) @Index('IDX_APPLICATION_REGISTRATION_CREATED_BY_USER_ID', ['createdByUserId']) -@Index('IDX_APPLICATION_REGISTRATION_WORKSPACE_ID', ['workspaceId']) +@Index('IDX_APPLICATION_REGISTRATION_WORKSPACE_ID', ['ownerWorkspaceId']) export class ApplicationRegistrationEntity { @IDField(() => UUIDScalarType) @PrimaryGeneratedColumn('uuid')