Skip to content

Commit

Permalink
fixed selligent
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucie Milan committed Nov 6, 2023
1 parent 86571bc commit 85d9e19
Show file tree
Hide file tree
Showing 10 changed files with 199 additions and 32 deletions.
155 changes: 155 additions & 0 deletions _data/taps/schemas/selligent/v0/selligent-v0-foreign-keys.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
tap: selligent
version: '0'
keys:
campaign_asset_id:
- table: campaign
keys:
- asset_id
- table: internal_datasource
keys:
- id
- table: owner
keys:
- asset_id
- table: source
keys:
- asset_id
- table: transactional_mailing
keys:
- id
- table: program
keys:
- id
tables:
- table-name: campaign
join:
- table-name: internal_datasource
keys:
- key: asset_id
foreign-key: id
- table-name: owner
keys:
- key: asset_id
foreign-key: asset_id
- table-name: source
keys:
- key: asset_id
foreign-key: asset_id
- table-name: transactional_mailing
keys:
- key: asset_id
foreign-key: id
- table-name: program
keys:
- key: asset_id
foreign-key: id
- table-name: internal_datasource
join:
- table-name: campaign
keys:
- key: id
foreign-key: asset_id
- table-name: owner
keys:
- key: id
foreign-key: asset_id
- table-name: source
keys:
- key: id
foreign-key: asset_id
- table-name: transactional_mailing
keys:
- key: id
foreign-key: id
- table-name: program
keys:
- key: id
foreign-key: id
- table-name: owner
join:
- table-name: campaign
keys:
- key: asset_id
foreign-key: asset_id
- table-name: internal_datasource
keys:
- key: asset_id
foreign-key: id
- table-name: source
keys:
- key: asset_id
foreign-key: asset_id
- table-name: transactional_mailing
keys:
- key: asset_id
foreign-key: id
- table-name: program
keys:
- key: asset_id
foreign-key: id
- table-name: source
join:
- table-name: campaign
keys:
- key: asset_id
foreign-key: asset_id
- table-name: internal_datasource
keys:
- key: asset_id
foreign-key: id
- table-name: owner
keys:
- key: asset_id
foreign-key: asset_id
- table-name: transactional_mailing
keys:
- key: asset_id
foreign-key: id
- table-name: program
keys:
- key: asset_id
foreign-key: id
- table-name: transactional_mailing
join:
- table-name: campaign
keys:
- key: id
foreign-key: asset_id
- table-name: internal_datasource
keys:
- key: id
foreign-key: id
- table-name: owner
keys:
- key: id
foreign-key: asset_id
- table-name: source
keys:
- key: id
foreign-key: asset_id
- table-name: program
keys:
- key: id
foreign-key: id
- table-name: program
join:
- table-name: campaign
keys:
- key: id
foreign-key: asset_id
- table-name: internal_datasource
keys:
- key: id
foreign-key: id
- table-name: owner
keys:
- key: id
foreign-key: asset_id
- table-name: source
keys:
- key: id
foreign-key: asset_id
- table-name: transactional_mailing
keys:
- key: id
foreign-key: id
45 changes: 44 additions & 1 deletion _data/taps/schemas/selligent/v0/selligent-v0-tables.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
tap: selligent
version: '0'
tables: []
tap-repo-schemas: false
tables:
- name: campaign
description: This table contains campaign data.
links:
singer-schema: https://github.com/singer-io/tap-selligent/blob/master/tap_selligent/schemas.py
table-details:
replication-method: Full Table
primary-key: asset_id
- name: internal_datasource
description: This table contains internal data source data.
links:
singer-schema: https://github.com/singer-io/tap-selligent/blob/master/tap_selligent/schemas.py
table-details:
replication-method: Full Table
primary-key: id
- name: owner
description: This table contains owner data.
links:
singer-schema: https://github.com/singer-io/tap-selligent/blob/master/tap_selligent/schemas.py
table-details:
replication-method: Full Table
primary-key: asset_id
- name: program
description: This table contains program data.
links:
singer-schema: https://github.com/singer-io/tap-selligent/blob/master/tap_selligent/schemas.py
table-details:
replication-method: Full Table
primary-key: id
- name: source
description: This table contains source data.
links:
singer-schema: https://github.com/singer-io/tap-selligent/blob/master/tap_selligent/schemas.py
table-details:
replication-method: Full Table
primary-key: asset_id
- name: transactional_mailing
description: This table contains transactional mailing data.
links:
singer-schema: https://github.com/singer-io/tap-selligent/blob/master/tap_selligent/schemas.py
table-details:
replication-method: Full Table
primary-key: id
28 changes: 0 additions & 28 deletions _data/taps/schemas/selligent/v1/selligent-v1-foreign-keys.yml

This file was deleted.

3 changes: 0 additions & 3 deletions _data/taps/schemas/selligent/v1/selligent-v1-tables.yml

This file was deleted.

0 comments on commit 85d9e19

Please sign in to comment.