Skip to content

Commit

Permalink
✨ Add groupid OFE storage per dailyerosion/dep#298
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Nov 22, 2024
1 parent 1720063 commit f806148
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions init/idep.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CREATE TABLE iem_schema_manager_version(
version int,
updated timestamptz);
ALTER TABLE iem_schema_manager_version OWNER to mesonet;
insert into iem_schema_manager_version values (32, now());
insert into iem_schema_manager_version values (33, now());

-- Storage of DEP versioning dailyerosion/dep#179
create table dep_version(
Expand Down Expand Up @@ -244,7 +244,8 @@ CREATE TABLE flowpath_ofes(
management varchar(32),
landuse varchar(32),
gssurgo_id int REFERENCES gssurgo(id),
real_length real
real_length real,
groupid varchar(16)
);
ALTER TABLE flowpath_ofes OWNER to mesonet;
GRANT SELECT on flowpath_ofes to nobody;
Expand Down
2 changes: 2 additions & 0 deletions upgrade/idep/33.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Storage of OFE groupid per dailyerosion/dep#298
alter table flowpath_ofes add groupid varchar(16);

0 comments on commit f806148

Please sign in to comment.