Skip to content

Commit 107760c

Browse files
committed
🐛 Fix another intermediate bug
1 parent b86f72d commit 107760c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init/sustainablecorn.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ CREATE TABLE soil_data(
497497
updated timestamptz default now(),
498498
sampledate date
499499
);
500-
CREATE INDEX soil_data_site_idx on soil_data(site);
500+
CREATE INDEX soil_data_site_idx on soil_data(uniqueid);
501501
CREATE UNIQUE index soil_data_idx on
502-
soil_data(site, plotid, varname, year, depth, subsample, sampledate);
502+
soil_data(uniqueid, plotid, varname, year, depth, subsample, sampledate);
503503

504504
alter table soil_data owner to mesonet;
505505
grant select on soil_data to nobody;

0 commit comments

Comments
 (0)