Skip to content

Commit

Permalink
drop if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Jan 5, 2024
1 parent d027bab commit 741759e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions db/functions/wsg_crossing_summary.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
-- - accessible (per model)
-- - with spawning rearing habitat upstream (per model)

DROP FUNCTION IF EXISTS bcfishpass.wsg_crossings_summary();
CREATE FUNCTION bcfishpass.wsg_crossings_summary()
RETURNS table (
watershed_group_code text,
Expand Down
2 changes: 1 addition & 1 deletion db/functions/wsg_linear_summary.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
-- - spawning or rearing habitat not isolated by dam or a known pscis barrier (accessible_a)
-- - spawning or rearing habitat not isolated by all anthropogenic barriers (observed and modelled) (accessible_b)

DROP FUNCTION bcfishpass.wsg_linear_summary();
DROP FUNCTION IF EXISTS bcfishpass.wsg_linear_summary();
CREATE FUNCTION bcfishpass.wsg_linear_summary()
RETURNS table (
watershed_group_code text,
Expand Down

0 comments on commit 741759e

Please sign in to comment.