[Refactor] Activity morph: first phase (#1075)
* Add company and person on update and create * Enable reading with error management on commentable ID * [CHECKPOINT] backward-compatible * Migrate data for activity targets * Revert "Migrate data for activity targets" This reverts commit f89bc30689655c83cd5370331fec41b59d03fdb9. --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -18,6 +18,8 @@ export const ADD_ACTIVITY_TARGETS = gql`
|
||||
updatedAt
|
||||
commentableType
|
||||
commentableId
|
||||
companyId
|
||||
personId
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -43,6 +45,8 @@ export const REMOVE_ACTIVITY_TARGETS = gql`
|
||||
updatedAt
|
||||
commentableType
|
||||
commentableId
|
||||
companyId
|
||||
personId
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user