@openhi/constructs 0.0.176 → 0.0.177

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildSchemaBootstrapStatements
3
- } from "./chunk-XJ5SRUGN.mjs";
3
+ } from "./chunk-B6GCDQKX.mjs";
4
4
  import {
5
5
  createRoleOperation
6
6
  } from "./chunk-SD7J3N3C.mjs";
@@ -5930,8 +5930,8 @@ function buildGenericSearchSql(opts) {
5930
5930
  const lines = [
5931
5931
  "SELECT resource_id AS id, resource",
5932
5932
  "FROM resources",
5933
- "WHERE tenant_id = :tenantId",
5934
- " AND workspace_id = :workspaceId",
5933
+ "WHERE LOWER(tenant_id) = LOWER(:tenantId)",
5934
+ " AND LOWER(workspace_id) = LOWER(:workspaceId)",
5935
5935
  " AND LOWER(resource_type) = LOWER(:resourceType)",
5936
5936
  " AND deleted_at IS NULL"
5937
5937
  ];