Skip to content

Commit

Permalink
fix: column reference "id" is ambiguous for lookup_component_config_i…
Browse files Browse the repository at this point in the history
…d_related_components
  • Loading branch information
yashmehrotra authored and moshloop committed Oct 10, 2024
1 parent d479f3a commit a04a4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/005_component_views.sql
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ BEGIN
WITH config_id_paths AS (
SELECT config_items.id
FROM config_items
WHERE starts_with(path, (SELECT path FROM config_items WHERE id IN (SELECT config_id FROM components WHERE components.id = $1::UUID)))
WHERE starts_with(path, (SELECT path FROM config_items WHERE config_items.id IN (SELECT config_id FROM components WHERE components.id = $1::UUID)))
)
SELECT components.id
FROM components
Expand Down

0 comments on commit a04a4db

Please sign in to comment.