Symptoms
When trying to select a GitHub repo, we get this error:
Failed to save sync with error:
Invalid prisma.sync.upsert() invocation:
Foreign key constraint failed on the field: syncs_linearTeamId_fkey (index)
Steps to reproduce
- This is our current configuration on synclinear.com (production).

- Select a brand new Linear team (not previously linked)
- Select a repo (not previously linked)
- Receive the error
Symptoms
When trying to select a GitHub repo, we get this error:
Steps to reproduce