From 7d5bfd7da4b6263609e5b6528821f42e360bc47a Mon Sep 17 00:00:00 2001 From: tigerenwork Date: Tue, 23 Jun 2026 16:56:11 +0800 Subject: [PATCH] feat: add crm_opportunities_snapshot table to sync configurations and update sync script --- sync.sh | 6 +++++- sync_aptselldemo_homelab.yaml | 2 ++ sync_demo_homelab.yaml | 2 ++ sync_demo_local.yaml | 2 ++ 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/sync.sh b/sync.sh index d0e0446..dd994f4 100644 --- a/sync.sh +++ b/sync.sh @@ -3,4 +3,8 @@ sling run -r sync_aptselldemo.yaml sling run -r sync_demo_local.yaml -sling run -r sync_demo.yaml \ No newline at end of file +sling run -r sync_demo.yaml + +# Sync particular tables to local/homelab +sling run -r sync_aptselldemo_homelab.yaml --streams qingflow.crm_opportunities_snapshot +sling run -r sync_demo_homelab.yaml --streams autoflow-demo.crm_opportunities_snapshot diff --git a/sync_aptselldemo_homelab.yaml b/sync_aptselldemo_homelab.yaml index 0445b3c..bc024ae 100644 --- a/sync_aptselldemo_homelab.yaml +++ b/sync_aptselldemo_homelab.yaml @@ -58,6 +58,8 @@ streams: object: "aptselldemo.crm_message_work_items" "qingflow.crm_opportunities": object: "aptselldemo.crm_opportunities" + "qingflow.crm_opportunities_snapshot": + object: "aptselldemo.crm_opportunities_snapshot" "qingflow.crm_opportunity_review_execution_index": object: "aptselldemo.crm_opportunity_review_execution_index" "qingflow.crm_opportunity_stage_stay_bucket": diff --git a/sync_demo_homelab.yaml b/sync_demo_homelab.yaml index edd9e8d..66227f2 100644 --- a/sync_demo_homelab.yaml +++ b/sync_demo_homelab.yaml @@ -58,6 +58,8 @@ streams: object: "demo.crm_message_work_items" "autoflow-demo.crm_opportunities": object: "demo.crm_opportunities" + "autoflow-demo.crm_opportunities_snapshot": + object: "demo.crm_opportunities_snapshot" "autoflow-demo.crm_opportunity_review_execution_index": object: "demo.crm_opportunity_review_execution_index" "autoflow-demo.crm_opportunity_stage_stay_bucket": diff --git a/sync_demo_local.yaml b/sync_demo_local.yaml index 67adfc4..c0513ff 100644 --- a/sync_demo_local.yaml +++ b/sync_demo_local.yaml @@ -58,6 +58,8 @@ streams: object: "demo.crm_message_work_items" "autoflow-demo.crm_opportunities": object: "demo.crm_opportunities" + "autoflow-demo.crm_opportunities_snapshot": + object: "demo.crm_opportunities_snapshot" "autoflow-demo.crm_opportunity_review_execution_index": object: "demo.crm_opportunity_review_execution_index" "autoflow-demo.crm_opportunity_stage_stay_bucket":