diff --git a/_data/taps/schemas/hubspot/v3/hubspot-v3-foreign-keys.yml b/_data/taps/schemas/hubspot/v3/hubspot-v3-foreign-keys.yml index 8167b45fa..1e003409c 100644 --- a/_data/taps/schemas/hubspot/v3/hubspot-v3-foreign-keys.yml +++ b/_data/taps/schemas/hubspot/v3/hubspot-v3-foreign-keys.yml @@ -68,41 +68,6 @@ keys: - table: contacts keys: - form-submissions.form-id - owners_ownerId: - - table: engagements - keys: - - engagement.ownerId - _portalId: - - table: companies - keys: - - portalId - - table: contact_lists - keys: - - portalId - - table: contacts - keys: - - portal-id - - form-submissions.portal-id - - table: deals - keys: - - portalId - - table: email_events - keys: - - portalId - - table: engagements - keys: - - engagement.portalId - - table: forms - keys: - - portalId - - table: owners - keys: - - portalId - - remoteList.portalId - - table: subscription_changes - keys: - - portalId - - changes.portalId tables: - table-name: campaigns join: @@ -148,12 +113,6 @@ tables: keys: - key: portalId foreign-key: engagement.portalId - - table-name: owners - keys: - - key: portalId - foreign-key: portalId - - key: portalId - foreign-key: remoteList.portalId - table-name: subscription_changes keys: - key: portalId @@ -196,12 +155,6 @@ tables: keys: - key: portalId foreign-key: engagement.portalId - - table-name: owners - keys: - - key: portalId - foreign-key: portalId - - key: portalId - foreign-key: remoteList.portalId - table-name: subscription_changes keys: - key: portalId @@ -256,16 +209,6 @@ tables: foreign-key: portalId - key: form-submissions.portal-id foreign-key: portalId - - table-name: owners - keys: - - key: portal-id - foreign-key: portalId - - key: form-submissions.portal-id - foreign-key: portalId - - key: portal-id - foreign-key: remoteList.portalId - - key: form-submissions.portal-id - foreign-key: remoteList.portalId - table-name: subscription_changes keys: - key: portal-id @@ -330,12 +273,6 @@ tables: keys: - key: portalId foreign-key: portalId - - table-name: owners - keys: - - key: portalId - foreign-key: portalId - - key: portalId - foreign-key: remoteList.portalId - table-name: subscription_changes keys: - key: portalId @@ -382,12 +319,6 @@ tables: keys: - key: portalId foreign-key: portalId - - table-name: owners - keys: - - key: portalId - foreign-key: portalId - - key: portalId - foreign-key: remoteList.portalId - table-name: subscription_changes keys: - key: portalId @@ -438,12 +369,6 @@ tables: keys: - key: engagement.portalId foreign-key: portalId - - table-name: owners - keys: - - key: engagement.portalId - foreign-key: portalId - - key: engagement.portalId - foreign-key: remoteList.portalId - table-name: subscription_changes keys: - key: engagement.portalId @@ -482,76 +407,12 @@ tables: keys: - key: portalId foreign-key: portalId - - table-name: owners - keys: - - key: portalId - foreign-key: portalId - - key: portalId - foreign-key: remoteList.portalId - table-name: subscription_changes keys: - key: portalId foreign-key: portalId - key: portalId foreign-key: changes.portalId -- table-name: owners - join: - - table-name: companies - keys: - - key: portalId - foreign-key: portalId - - key: remoteList.portalId - foreign-key: portalId - - table-name: contact_lists - keys: - - key: portalId - foreign-key: portalId - - key: remoteList.portalId - foreign-key: portalId - - table-name: contacts - keys: - - key: portalId - foreign-key: portal-id - - key: remoteList.portalId - foreign-key: portal-id - - key: portalId - foreign-key: form-submissions.portal-id - - key: remoteList.portalId - foreign-key: form-submissions.portal-id - - table-name: deals - keys: - - key: portalId - foreign-key: portalId - - key: remoteList.portalId - foreign-key: portalId - - table-name: email_events - keys: - - key: portalId - foreign-key: portalId - - key: remoteList.portalId - foreign-key: portalId - - table-name: engagements - keys: - - key: portalId - foreign-key: engagement.portalId - - key: remoteList.portalId - foreign-key: engagement.portalId - - table-name: forms - keys: - - key: portalId - foreign-key: portalId - - key: remoteList.portalId - foreign-key: portalId - - table-name: subscription_changes - keys: - - key: portalId - foreign-key: portalId - - key: remoteList.portalId - foreign-key: portalId - - key: portalId - foreign-key: changes.portalId - - key: remoteList.portalId - foreign-key: changes.portalId - table-name: subscription_changes join: - table-name: companies @@ -600,13 +461,3 @@ tables: foreign-key: portalId - key: changes.portalId foreign-key: portalId - - table-name: owners - keys: - - key: portalId - foreign-key: portalId - - key: changes.portalId - foreign-key: portalId - - key: portalId - foreign-key: remoteList.portalId - - key: changes.portalId - foreign-key: remoteList.portalId