Skip to content

Commit

Permalink
fix: migration failure
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Mar 17, 2024
1 parent 353f33a commit c1e5db8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions views/006_config_views.sql
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,8 @@ END;
$$ LANGUAGE plpgsql;

-- related configs
DROP FUNCTION IF EXISTS related_configs;
DROP FUNCTION IF EXISTS related_configs(config_id uuid, include_deleted_configs boolean);
DROP FUNCTION IF EXISTS related_configs(config_id uuid, type_filter text, include_deleted_configs boolean);

CREATE FUNCTION related_configs (
config_id UUID,
Expand Down Expand Up @@ -598,7 +599,7 @@ BEGIN
LEFT JOIN config_items c on c.id = cc.config_id
WHERE cc.config_id = lookup_id
OR cc.config_id IN (
SELECT related_config_ids_recursive.id
SELECT related_config_ids_recursive.id
FROM related_config_ids_recursive(
lookup_id,
CASE
Expand Down

0 comments on commit c1e5db8

Please sign in to comment.