Skip to content

Commit

Permalink
Fixing scrape SQL schema for text HUC10 field type
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbaileynar authored and MattReimer committed Sep 25, 2024
1 parent 1519303 commit efdcd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rme/rme/database/rme_scrape_huc_statistics.sql
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ VALUES
(50,'Wyoming','WY');

CREATE TABLE metrics (
huc10 INT NOT NULL REFERENCES hucs(huc10) ON DELETE CASCADE,
huc10 TEXT NOT NULL REFERENCES hucs(huc10) ON DELETE CASCADE,
state_id INT REFERENCES us_states(id) ON DELETE CASCADE,
owner_id INT REFERENCES owners(id) ON DELETE CASCADE,
flow_id INT REFERENCES flows(id) ON DELETE CASCADE,
Expand Down

0 comments on commit efdcd50

Please sign in to comment.