Closed andrewp-CWF closed 3 weeks ago
looks good to me, have you already applied to the CWF databases?
I see the wcrp
column in prod, so I'll merge and apply to the BC db.
I added in the wcrp column and run the function, so the views are in the wcrp schemas
Hey Simon, was this merged and applied to the BC db?
No, the migration doesn't run as is. Can you make the changes?
I can make the changes,
It seems to be failing when it tries to load the wcrp_watersheds.csv into the testing database with the extra columns. Where would I be able to alter that table? I don't think I have access to bcfishpass_test
I can run the script when ready.
Add the alter statement to either migrate.sh
or join_tracking_table_crossings_vw.sql
, remove the change from db/v0.5.0/sql/tables/wcrp.sql
and I'll run.
Thanks Andrew.
Sounds good, I have just pushed the changes to the branch
Folder includes join_tracking_table_crossings_view.sql and migrate.sh
Pull request also includes additional wcrp column in wcrp_watersheds.csv