Skip to content

Commit

Permalink
fix(fct): syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarfuste committed Aug 20, 2024
1 parent 99fb545 commit c1a5624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/fct/gw_fct_setinitproject.sql
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ BEGIN
END IF;

-- Force sector selector for 0 values
INSERT selector_sector VALUES (0, current_user) ON CONFLICT (sector_id, cur_user) DO NOTHING;
INSERT INTO selector_sector VALUES (0, current_user) ON CONFLICT (sector_id, cur_user) DO NOTHING;

-- force hydrometer_selector in case of null values
IF (select cur_user FROM selector_hydrometer WHERE cur_user = current_user limit 1) IS NULL THEN
Expand Down

0 comments on commit c1a5624

Please sign in to comment.