Skip to content

Commit

Permalink
fix(data/taxonomie): fix ajout enum value old_indicateur_thematique
Browse files Browse the repository at this point in the history
  • Loading branch information
dthib committed Sep 4, 2024
1 parent 187d242 commit 1853e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_layer/sqitch/deploy/taxonomie/thematique.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BEGIN;
-- On doit supprimer et recréer ces fonctions car le type de la colonne va etre change
drop function thematique(action_impact_state);
drop function collectivite_thematique(public.collectivite);
alter type old_indicateur_thematique add value 'agriculture_alimentation';
alter type old_indicateur_thematique add value if not exists 'agriculture_alimentation';
alter table thematique alter column md_id type varchar;

insert into thematique (nom, md_id)
Expand Down

0 comments on commit 1853e21

Please sign in to comment.