Skip to content

Commit

Permalink
Make function immutable
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Chavez <[email protected]>
  • Loading branch information
laurenceisla and steve-chavez authored Jan 19, 2024
1 parent 50a41f1 commit fcb90b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/utils.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ select case when type like any(array['character', 'character varying', 'text'])
$$;

create or replace function oas_build_reference_to_schemas("schema" text)
returns jsonb language sql as
returns jsonb language sql immutable as
$$
select oas_reference_object(
'#/components/schemas/' || "schema"
Expand Down

0 comments on commit fcb90b6

Please sign in to comment.