Skip to content

Commit

Permalink
Fix taxonomy mathing populate process using INSERT ON CONFLICT
Browse files Browse the repository at this point in the history
  • Loading branch information
lpofredc committed Jul 27, 2023
1 parent 76ea2e4 commit cd10c9c
Show file tree
Hide file tree
Showing 2 changed files with 46,251 additions and 46,242 deletions.
3 changes: 3 additions & 0 deletions 03_taxonomie.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ CREATE TABLE taxonomie.cor_c_vn_taxref
CREATE UNIQUE INDEX i_uniq_cor_c_vn_taxref ON taxonomie.cor_c_vn_taxref (vn_id, cd_nom)
;

ALTER TABLE taxonomie.cor_c_vn_taxref
ADD CONSTRAINT cor_c_vn_taxref_un UNIQUE (vn_id);

COMMENT ON TABLE taxonomie.cor_c_vn_taxref IS 'Correlation between taxref cd_nom (taxref) and VisioNature species id (src_vn.species).'
;

Expand Down
Loading

0 comments on commit cd10c9c

Please sign in to comment.