Skip to content

Commit

Permalink
Merge pull request #4 from OpenSourcePolitics/add_component_id_to_pri…
Browse files Browse the repository at this point in the history
…vate_proposal_fields

feat(cdc): create decidim_awesome_private_proposal_fields marts models
  • Loading branch information
JeanLouisLamezec authored Aug 30, 2024
2 parents dfddbff + 69066f1 commit 1941fe5
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SELECT
decidim_awesome_private_proposal_fields.id,
decidim_awesome_private_proposal_fields.proposal_id,
decidim_awesome_private_proposal_fields.private_field_description,
decidim_awesome_private_proposal_fields.private_field_content,
decidim_proposals_proposals.decidim_component_id,
components.ps_title
FROM
{{ ref ("int_decidim_awesome_private_proposal_fields")}} AS decidim_awesome_private_proposal_fields
JOIN decidim_proposals_proposals ON decidim_awesome_private_proposal_fields.proposal_id = decidim_proposals_proposals.id
JOIN {{ ref ("components")}} AS components ON decidim_proposals_proposals.decidim_component_id = components.id

0 comments on commit 1941fe5

Please sign in to comment.