From 6d5e35fb0b923dd31db5a10d0602a5170469a9ac Mon Sep 17 00:00:00 2001 From: Simon Norris Date: Fri, 5 Jan 2024 13:43:49 -0800 Subject: [PATCH] fix function name --- db/functions/wsg_crossing_summary.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/functions/wsg_crossing_summary.sql b/db/functions/wsg_crossing_summary.sql index 106e8e4b..bb996269 100644 --- a/db/functions/wsg_crossing_summary.sql +++ b/db/functions/wsg_crossing_summary.sql @@ -3,8 +3,8 @@ -- - accessible (per model) -- - with spawning rearing habitat upstream (per model) -DROP FUNCTION IF EXISTS bcfishpass.wsg_crossings_summary(); -CREATE FUNCTION bcfishpass.wsg_crossings_summary() +DROP FUNCTION IF EXISTS bcfishpass.wsg_crossing_summary(); +CREATE FUNCTION bcfishpass.wsg_crossing_summary() RETURNS table ( watershed_group_code text, crossing_feature_type text,