Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update join_tracking_table_crossings_vw.sql (#599)
* Add WCRP columns to wcrp_watersheds.csv Column shows which wcrp the watershed belongs to * Added migration files db.v0.5.3 includes join_tracking_table_crossings_vw.sql and migrate.sh * Add wcrp column to wcrp_watersheds Added column in table creation * Moved wcrp column creation - Added statement to add the wcrp column to bcfishpass.wcrp_watersheds - removed the change from db/v0.5.0/sql/tables/wcrp.sql * run add column wcrp to wcrp_watersheds on all systems * Update join_tracking_table_crossings_vw.sql - Added right join so excluded structures with no feature in crossings_wcrp_vw show up in the joined table. * Update join_tracking_table_crossings_vw.sql - Modified join to include crossings in bcfishpass.crossings_wcrp_vw that are not in the tracking table but are in the WCRP and where all_spawningrearing_km > 0. * Update join_tracking_table_crossings_vw.sql Altered condition to ensure all features from the tracking table are in the joined output view. --------- Co-authored-by: Simon Norris <snorris@hillcrestgeo.ca>
- Loading branch information