Skip to content

Commit

Permalink
move cw/mad tables into db/tables/source
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Jan 10, 2024
1 parent e87ec79 commit e445328
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
6 changes: 0 additions & 6 deletions db/tables/channel_width.sql

This file was deleted.

8 changes: 0 additions & 8 deletions db/tables/discharge.sql

This file was deleted.

16 changes: 16 additions & 0 deletions db/tables/sources.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-- do not drop/re-create these on db schema refresh, they are stable and we
-- do not want to re-load these data every time db schema is updated

create table if not exists bcfishpass.discharge
(
linear_feature_id bigint primary key,
watershed_group_code text ,
mad_mm double precision,
mad_m3s double precision
);

create table if not exists bcfishpass.channel_width (
linear_feature_id bigint primary key,
channel_width_source text ,
channel_width double precision
);

0 comments on commit e445328

Please sign in to comment.