Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add byTracking results in Prisma error #105

Open
nedga055 opened this issue Jan 5, 2021 · 0 comments
Open

Add byTracking results in Prisma error #105

nedga055 opened this issue Jan 5, 2021 · 0 comments

Comments

@nedga055
Copy link

nedga055 commented Jan 5, 2021

Bug report

Describe the bug

In a Prisma based KeystoneJS app, adding the byTracking plugin on a list/model results in the following Prisma error:

Error validating model "ListName": Automatic related field generation would cause a naming conflict. Please add an explicit opposite relation field.

To Reproduce

  1. Add byTracking() to the list of plugins for a new or existing list/model.
  2. Run npm run dev

Expected behaviour

Migrations should run and Keystone should boot up without error.

System information

  • OS: macOS
@timleslie timleslie transferred this issue from keystonejs/keystone Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants