Skip to content

Commit

Permalink
fix(occhab): correct typo in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize authored and Pierre-Narcisi committed Dec 10, 2024
1 parent bf5e710 commit e313ad4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def downgrade():

cte = (
sa.select(MappingTemplate.c.id)
.where(MappingTemplate.c.label.in_(["OccHab", "Occurrences d'habitats SINP"]))
.where(MappingTemplate.c.label.in_(["Occhab", "Occurrences d'habitats SINP"]))
.cte("mapping_cte")
)
op.execute(sa.delete(FieldMapping).where(FieldMapping.c.id == cte.c.id))
Expand Down

0 comments on commit e313ad4

Please sign in to comment.