Skip to content

Commit

Permalink
fixed closeio
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucie Milan committed Oct 19, 2023
1 parent 03a3214 commit f1ae2be
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 55 deletions.
104 changes: 52 additions & 52 deletions _data/taps/schemas/closeio/v1/closeio-v1-foreign-keys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ keys:
- organization_id
- table: users
keys:
- organizations.id
- organizations
tasks_task_id:
- table: activities
keys:
Expand All @@ -76,7 +76,7 @@ keys:
- updated_by
- user_id
- task_assigned_to
- users.id
- users
- table: custom_fields
keys:
- created_by
Expand Down Expand Up @@ -141,7 +141,7 @@ tables:
foreign-key: contacts.created_by
- key: task_assigned_to
foreign-key: contacts.created_by
- key: users.id
- key: users
foreign-key: contacts.created_by
- key: created_by
foreign-key: contacts.updated_by
Expand All @@ -151,7 +151,7 @@ tables:
foreign-key: contacts.updated_by
- key: task_assigned_to
foreign-key: contacts.updated_by
- key: users.id
- key: users
foreign-key: contacts.updated_by
- key: created_by
foreign-key: created_by
Expand All @@ -161,7 +161,7 @@ tables:
foreign-key: created_by
- key: task_assigned_to
foreign-key: created_by
- key: users.id
- key: users
foreign-key: created_by
- key: created_by
foreign-key: opportunities.created_by
Expand All @@ -171,7 +171,7 @@ tables:
foreign-key: opportunities.created_by
- key: task_assigned_to
foreign-key: opportunities.created_by
- key: users.id
- key: users
foreign-key: opportunities.created_by
- key: created_by
foreign-key: opportunities.updated_by
Expand All @@ -181,7 +181,7 @@ tables:
foreign-key: opportunities.updated_by
- key: task_assigned_to
foreign-key: opportunities.updated_by
- key: users.id
- key: users
foreign-key: opportunities.updated_by
- key: created_by
foreign-key: opportunities.user_id
Expand All @@ -191,7 +191,7 @@ tables:
foreign-key: opportunities.user_id
- key: task_assigned_to
foreign-key: opportunities.user_id
- key: users.id
- key: users
foreign-key: opportunities.user_id
- key: created_by
foreign-key: tasks.assigned_to
Expand All @@ -201,7 +201,7 @@ tables:
foreign-key: tasks.assigned_to
- key: task_assigned_to
foreign-key: tasks.assigned_to
- key: users.id
- key: users
foreign-key: tasks.assigned_to
- key: created_by
foreign-key: tasks.created_by
Expand All @@ -211,7 +211,7 @@ tables:
foreign-key: tasks.created_by
- key: task_assigned_to
foreign-key: tasks.created_by
- key: users.id
- key: users
foreign-key: tasks.created_by
- key: created_by
foreign-key: tasks.updated_by
Expand All @@ -221,7 +221,7 @@ tables:
foreign-key: tasks.updated_by
- key: task_assigned_to
foreign-key: tasks.updated_by
- key: users.id
- key: users
foreign-key: tasks.updated_by
- key: created_by
foreign-key: updated_by
Expand All @@ -231,7 +231,7 @@ tables:
foreign-key: updated_by
- key: task_assigned_to
foreign-key: updated_by
- key: users.id
- key: users
foreign-key: updated_by
- table-name: tasks
keys:
Expand All @@ -251,7 +251,7 @@ tables:
foreign-key: assigned_to
- key: task_assigned_to
foreign-key: assigned_to
- key: users.id
- key: users
foreign-key: assigned_to
- key: created_by
foreign-key: created_by
Expand All @@ -261,7 +261,7 @@ tables:
foreign-key: created_by
- key: task_assigned_to
foreign-key: created_by
- key: users.id
- key: users
foreign-key: created_by
- key: created_by
foreign-key: updated_by
Expand All @@ -271,7 +271,7 @@ tables:
foreign-key: updated_by
- key: task_assigned_to
foreign-key: updated_by
- key: users.id
- key: users
foreign-key: updated_by
- table-name: event_log
keys:
Expand All @@ -287,7 +287,7 @@ tables:
foreign-key: user_id
- key: task_assigned_to
foreign-key: user_id
- key: users.id
- key: users
foreign-key: user_id
- table-name: custom_fields
keys:
Expand All @@ -301,7 +301,7 @@ tables:
foreign-key: created_by
- key: task_assigned_to
foreign-key: created_by
- key: users.id
- key: users
foreign-key: created_by
- key: created_by
foreign-key: updated_by
Expand All @@ -311,12 +311,12 @@ tables:
foreign-key: updated_by
- key: task_assigned_to
foreign-key: updated_by
- key: users.id
- key: users
foreign-key: updated_by
- table-name: users
keys:
- key: organization_id
foreign-key: organizations.id
foreign-key: organizations
- key: created_by
foreign-key: id
- key: updated_by
Expand All @@ -325,7 +325,7 @@ tables:
foreign-key: id
- key: task_assigned_to
foreign-key: id
- key: users.id
- key: users
foreign-key: id
- table-name: leads
join:
Expand Down Expand Up @@ -436,25 +436,25 @@ tables:
- key: updated_by
foreign-key: task_assigned_to
- key: contacts.created_by
foreign-key: users.id
foreign-key: users
- key: contacts.updated_by
foreign-key: users.id
foreign-key: users
- key: created_by
foreign-key: users.id
foreign-key: users
- key: opportunities.created_by
foreign-key: users.id
foreign-key: users
- key: opportunities.updated_by
foreign-key: users.id
foreign-key: users
- key: opportunities.user_id
foreign-key: users.id
foreign-key: users
- key: tasks.assigned_to
foreign-key: users.id
foreign-key: users
- key: tasks.created_by
foreign-key: users.id
foreign-key: users
- key: tasks.updated_by
foreign-key: users.id
foreign-key: users
- key: updated_by
foreign-key: users.id
foreign-key: users
- table-name: tasks
keys:
- key: contacts.id
Expand Down Expand Up @@ -632,13 +632,13 @@ tables:
- table-name: users
keys:
- key: contacts.organization_id
foreign-key: organizations.id
foreign-key: organizations
- key: opportunities.organization_id
foreign-key: organizations.id
foreign-key: organizations
- key: organization_id
foreign-key: organizations.id
foreign-key: organizations
- key: tasks.organization_id
foreign-key: organizations.id
foreign-key: organizations
- key: contacts.created_by
foreign-key: id
- key: contacts.updated_by
Expand Down Expand Up @@ -696,11 +696,11 @@ tables:
- key: updated_by
foreign-key: task_assigned_to
- key: assigned_to
foreign-key: users.id
foreign-key: users
- key: created_by
foreign-key: users.id
foreign-key: users
- key: updated_by
foreign-key: users.id
foreign-key: users
- table-name: leads
keys:
- key: contact_id
Expand Down Expand Up @@ -818,7 +818,7 @@ tables:
- table-name: users
keys:
- key: organization_id
foreign-key: organizations.id
foreign-key: organizations
- key: assigned_to
foreign-key: id
- key: created_by
Expand All @@ -842,7 +842,7 @@ tables:
- key: user_id
foreign-key: task_assigned_to
- key: user_id
foreign-key: users.id
foreign-key: users
- table-name: leads
keys:
- key: lead_id
Expand Down Expand Up @@ -904,7 +904,7 @@ tables:
- table-name: users
keys:
- key: organization_id
foreign-key: organizations.id
foreign-key: organizations
- key: user_id
foreign-key: id
- table-name: custom_fields
Expand All @@ -930,9 +930,9 @@ tables:
- key: updated_by
foreign-key: task_assigned_to
- key: created_by
foreign-key: users.id
foreign-key: users
- key: updated_by
foreign-key: users.id
foreign-key: users
- table-name: event_log
keys:
- key: organization_id
Expand Down Expand Up @@ -1010,7 +1010,7 @@ tables:
- table-name: users
keys:
- key: organization_id
foreign-key: organizations.id
foreign-key: organizations
- key: created_by
foreign-key: id
- key: updated_by
Expand All @@ -1019,7 +1019,7 @@ tables:
join:
- table-name: activities
keys:
- key: organizations.id
- key: organizations
foreign-key: organization_id
- key: id
foreign-key: created_by
Expand All @@ -1030,30 +1030,30 @@ tables:
- key: id
foreign-key: task_assigned_to
- key: id
foreign-key: users.id
foreign-key: users
- table-name: custom_fields
keys:
- key: organizations.id
- key: organizations
foreign-key: organization_id
- key: id
foreign-key: created_by
- key: id
foreign-key: updated_by
- table-name: event_log
keys:
- key: organizations.id
- key: organizations
foreign-key: organization_id
- key: id
foreign-key: user_id
- table-name: leads
keys:
- key: organizations.id
- key: organizations
foreign-key: contacts.organization_id
- key: organizations.id
- key: organizations
foreign-key: opportunities.organization_id
- key: organizations.id
- key: organizations
foreign-key: organization_id
- key: organizations.id
- key: organizations
foreign-key: tasks.organization_id
- key: id
foreign-key: contacts.created_by
Expand All @@ -1077,7 +1077,7 @@ tables:
foreign-key: updated_by
- table-name: tasks
keys:
- key: organizations.id
- key: organizations
foreign-key: organization_id
- key: id
foreign-key: assigned_to
Expand Down
3 changes: 0 additions & 3 deletions _data/taps/schemas/closeio/v1/closeio-v1-issues.txt

This file was deleted.

0 comments on commit f1ae2be

Please sign in to comment.