Skip to content

Commit

Permalink
#1053 fix function formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielwol authored Sep 16, 2024
1 parent cf085af commit 6c521e8
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
--DROP FUNCTION miovision_api.update_open_issues;
CREATE OR REPLACE FUNCTION miovision_api.update_open_issues() AS
CREATE OR REPLACE FUNCTION miovision_api.update_open_issues()
RETURNS VOID
LANGUAGE SQL

AS $BODY$

WITH alerts AS (
SELECT
Expand Down Expand Up @@ -110,7 +114,8 @@ WHEN NOT MATCHED THEN
oi.volume, oi.alerts
);

$BODY$;

COMMENT ON FUNCTION miovision_api.update_open_issues
IS '''A function to update miovision_api.open_issues.
Run weekly via miovision_check Airflow DAG.''';
Run weekly via miovision_check Airflow DAG.''';

0 comments on commit 6c521e8

Please sign in to comment.