Skip to content

Commit

Permalink
fix: remove old lookup_component_config_id_related_components func si…
Browse files Browse the repository at this point in the history
…gnature
  • Loading branch information
yashmehrotra authored and moshloop committed Oct 8, 2024
1 parent 9eb80e3 commit d3f10fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/005_component_views.sql
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ BEGIN
END;
$$ language plpgsql;

DROP FUNCTION if exists lookup_component_relations;

DROP FUNCTION IF EXISTS lookup_component_relations;
CREATE OR REPLACE FUNCTION lookup_component_relations (component_id text)
RETURNS TABLE (id UUID) AS $$
BEGIN
Expand All @@ -146,6 +145,7 @@ CREATE OR REPLACE VIEW component_types AS
SELECT distinct on (type) type
FROM components ORDER BY type asc;

DROP FUNCTION IF EXISTS lookup_component_config_id_related_components;
CREATE OR REPLACE FUNCTION lookup_component_config_id_related_components (
component_id TEXT
)
Expand Down

0 comments on commit d3f10fa

Please sign in to comment.