message: fix: dont fail if there are no deployments in pointer-changes
diff: @@ -27,6 +27,7 @@ export class DeploymentPointerChangesRepository {
  DeploymentId,
  Map<Pointer, { before: EntityId | undefined; after: DELTA_POINTER_RESULT }>
  > = new Map()
  + if (deploymentIds.length > 0) {
  const deltas = await this.db.any(
  `
  SELECT deployment, pointer, after, deployments.entity_id AS before
  @@ -41,6 +42,7 @@ export class DeploymentPointerChangesRepository {
  }
  result.get(deployment)!.set(pointer, { before: before ?? undefined, after })
  })
  + }
  return result
  }
  }
  