Skip to content

Commit

Permalink
[Migration] fix migration for control_plan_tags
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed Dec 19, 2023
1 parent 71588c0 commit 7e683e9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ WITH themes AS (
jsonb_array_elements(value->'themes')->>'theme' as theme,
jsonb_array_elements(value->'themes')->'protectedSpecies' as protectedspecies
FROM env_actions
WHERE jsonb_typeof(value->'themes') = 'array'
)
SELECT themes.env_action_id, control_plan_tags.id
FROM themes,
Expand Down

0 comments on commit 7e683e9

Please sign in to comment.