Skip to content

Commit

Permalink
Merge pull request #364 from PnX-SI/fix/add_pk_importtaxref
Browse files Browse the repository at this point in the history
Fix/add pk importtaxref
  • Loading branch information
amandine-sahl authored Jan 20, 2023
2 parents eabc411 + 0daff0a commit f18ac01
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
-- Créer la table import_taxref


DROP TABLE IF EXISTS taxonomie.import_taxref;
CREATE TABLE taxonomie.import_taxref
(
Expand Down Expand Up @@ -45,6 +47,7 @@ CREATE TABLE taxonomie.import_taxref
url text
);

ALTER TABLE taxonomie.import_taxref ADD CONSTRAINT pk_import_taxref PRIMARY KEY (cd_nom);

-- Créer la table cdnom_disparus
DROP TABLE IF EXISTS taxonomie.cdnom_disparu;
Expand Down

0 comments on commit f18ac01

Please sign in to comment.