Skip to content

Commit

Permalink
remove inactive slicks from slick_plus
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael committed Nov 16, 2023
1 parent ce801c7 commit 798cf64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion alembic/versions/39277f6278f4_add_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def upgrade() -> None:
array_agg(source.id) FILTER (WHERE source.type = 2) AS source_type_2_ids
FROM slick_to_source
JOIN source ON slick_to_source.source = source.id
GROUP BY slick_to_source.slick) source_agg ON source_agg.slick = slick.id;
GROUP BY slick_to_source.slick) source_agg ON source_agg.slick = slick.id
WHERE slick.active = true;
""",
)
op.create_entity(slick_plus)
Expand Down

0 comments on commit 798cf64

Please sign in to comment.